Fix report-simple for multiple tables

i18n
Vitaliy Filippov 2017-04-14 13:54:04 +03:00
parent f7321af1b1
commit 9f6262a6e3
1 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,14 @@
<script type="text/javascript" src="[% 'js/resize-iframe.js' | ts_url %]"></script>
</head>
<body>
[% FOREACH tbl = tbl_names %]
[% IF tbl == "-total-" %]
[% tbl_disp = "Total" %]
[% ELSE %]
[% tbl_disp = tbl %]
[% END %]
[% PROCESS "reports/report-table.html.tmpl" %]
[% END %]
</body>
</html>