FEATURE: display report total value when showing report

This commit is contained in:
Joffrey JAFFEUX
2018-06-21 18:17:22 +02:00
committed by GitHub
parent a1c0d0e6e5
commit a41057aa6e
3 changed files with 18 additions and 0 deletions

View File

@@ -13,5 +13,16 @@
</td>
</tr>
{{/each}}
{{#if model.total}}
<tr class="total-for-period">
<td class="x-value">
{{i18n 'admin.dashboard.reports.total_for_period'}}
</td>
<td>
{{model.total}}
</td>
</tr>
{{/if}}
</table>
{{/if}}