Customer Sales Report

{{#each customers}}
Customer ID: {{customer.id}}
Customer Name: {{customer.name}}
Hardware Name: {{customer.hardware_name}}

Sales by Month

{{#each salesByMonth}} {{#each orders}} {{#if @index}} {{/if}} {{/each}} {{/each}}
Month Order Reference Total Amount
{{month}} {{orders.[0].reference_no}} ₱{{orders.[0].total_amount}}
{{this.reference_no}} ₱{{this.total_amount}}
Total Sales ({{month}}) ₱{{totalSales}}
{{/each}}