{{model.title}}

{{i18n 'admin.dashboard.reports.start_date'}} {{input type="date" value=startDate}} {{i18n 'admin.dashboard.reports.end_date'}} {{input type="date" value=endDate}} {{combo-box valueAttribute="value" content=categoryOptions value=categoryId}} {{d-button action="refreshReport" class="btn-primary" label="admin.dashboard.reports.refresh_report" icon="refresh"}} {{d-button action="exportCsv" label="admin.export_csv.button_text" icon="download"}}
{{#if viewingTable}} {{i18n 'admin.dashboard.reports.view_table'}} {{else}} {{i18n 'admin.dashboard.reports.view_table'}} {{/if}} | {{#if viewingBarChart}} {{i18n 'admin.dashboard.reports.view_chart'}} {{else}} {{i18n 'admin.dashboard.reports.view_chart'}} {{/if}}
{{#conditional-loading-spinner condition=refreshing}} {{#each row in model.dataReversed}} {{/each}}
{{model.xaxis}} {{model.yaxis}}
{{row.x}} {{#if viewingTable}} {{row.y}} {{/if}} {{#if viewingBarChart}}
{{row.y}}
{{/if}}
{{/conditional-loading-spinner}}