... using Opencast 1.5.6.4...
When I print my invoices, I simply would like to sort the products alphabetically by the value of the "Location" field.
I suppose I will have to change it in the template on "admin/view/template/sale/order_invoice.tpl"...
The array of the products within an order needs to be ordered by "Location" before the start of the echo of each product field in the loop, right?
So, before starting by " <?php foreach ($order['product'] as $product) { ?>"
Hoping to see a reply
