{{#if model.computedLabels}} {{#each model.computedLabels as |label index|}} {{admin-report-table-header showSortingUI=showSortingUI currentSortDirection=sortDirection currentSortLabel=sortLabel label=label sortByLabel=(action "sortByLabel" label)}} {{/each}} {{else}} {{#each model.data as |data|}} {{/each}} {{/if}} {{#each paginatedData as |data|}} {{admin-report-table-row data=data labels=model.computedLabels options=options}} {{/each}} {{#if showTotalForSample}} {{#each totalsForSample as |total|}} {{/each}} {{/if}} {{#if showTotal}} {{/if}} {{#if showAverage}} {{/if}}
{{data.x}}
{{i18n 'admin.dashboard.reports.totals_for_sample'}}
{{total.formatedValue}}
{{i18n 'admin.dashboard.reports.total'}}
{{number model.total}}
{{i18n 'admin.dashboard.reports.average_for_sample'}}
{{number averageForSample}}