Though its not so complex module but still would like to share with you what we have developed.
As we know that from POS Back Order, we can create invoice one by one. So here we made solution where we can select more than one POS Orders and create invoice at once.
In below screen, we can see that there is no invoice created for these POS Orders.
We can easily filter POS Order by dates and it will display order which are not relate with any invoices.
For creating invoice for POS Orders, it requires to select customer.
It will take order lines of all selected POS Order and create one customer invoice in DRAFT state.
After creating invoice, all selected POS Orders “Status” and “Invoice” fields value will be change.
In case of “Cancel” invoice, it will update both fields into POS Orders.