View | Details | Raw Unified | Return to bug 18694
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt (-11 / +3 lines)
Lines 1-14 Link Here
1
[% USE ItemTypes %]
1
[% USE ItemTypes %]
2
[% INCLUDE csv_headers/reports/cash_register_stats.tt %]
2
[% INCLUDE csv_headers/reports/cash_register_stats.tt %]
3
[%- FOREACH row IN rows %]
3
[%- FOREACH row IN rows # Avoid line breaks in directives because of translatability%]
4
    [%- FOREACH field IN row;
4
    [%- FOREACH field IN row; field IF !loop.last; ItemTypes.GetDescription(field) IF loop.last; sep IF !loop.last; END %]
5
       field IF !loop.last;
6
       ItemTypes.GetDescription(field) IF loop.last;
7
       sep IF !loop.last;
8
    END %]
9
[% END -%]
5
[% END -%]
10
TOTAL
6
TOTAL
11
[%- FOREACH field IN total;
7
[%- FOREACH field IN total; field; sep IF !loop.last; END %]
12
    field;
13
    sep IF !loop.last;
14
END %]
15
- 

Return to bug 18694