Date |
Client |
Number |
Balance |
Total |
Taxes Total |
Grand Total |
---|---|---|---|---|---|---|
[#list salesreport.invoices?sort_by("date") as invoice] | ||||||
${invoice.date?date} |
${invoice.client} |
${invoice.number} |
${invoice.balance} |
${invoice.total} |
${invoice.taxesTotal} |
${invoice.grandTotal} |
[/#list] | ||||||
Total |
${salesreport.calculateBalance(salesreport.invoices)} |
${salesreport.calculateTotal(salesreport.invoices)} |
${salesreport.calculateTaxesTotal(salesreport.invoices)} |
${salesreport.calculateGrandTotal(salesreport.invoices)} |