Our workflow is such that it would be extremely useful if one or both of the following were possible.
A)
Add a Detailed Sales Report that would display the info from both ‘sales’ and ‘sale_item’.
B)
Modify the Sales Report to display the modal invoice when a row is clicked.
NOTES
I think the addition of Detailed Sales Report is more useful of the two. If I had to choose just one, that would be it.
Also, in a similar way, if we could have a ‘toggle details’ option in ‘List Invoices’ that would also be very helpful.
But, as I said, if it is “choose one”, then a Detailed Sales Report.
- MSAnswered
Hello,
The modal view of sale can be added. I will check it in next update.
I am not sure about A as it might over populate the row with all the items data.
Thank you
- MSAnswered
Hello,
I have checked. You can add the following code to datatables in
themes/default/views/reports/sales.php
around line 111 to get view modal on click."rowCallback": function( row, data, index ) { $(row).attr('id', data.id); $(row).addClass('invoice_link'); }
Thank you
- SSAnswered
That is perfect, thank you!
- SSAnswered
I’d still like to see a Detailed Sales Report. The owner likes to waste paper on things like that 😃
Well, to be fair, he has trouble reading a screen for more than a few minutes – so paper reports are his best friend.
Currently, every Monday he has his assistant re-print all the invoices for the previous week. A detailed report could actually SAVE a forest!
You call of course, but, if you decide to do it, I for one would be grateful.
- MSAnswered
I can’t promise but will check in future updates. Thank you
- Login to Reply