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

Return to bug 18694