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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt (-1 / +1 lines)
Line 1 Link Here
1
mfirstname[% sep %]card number[% sep %]firstname[% sep %]branchname[% sep %]date[% sep %]accounttype[% sep %]amount[% sep %]title[% sep %]barcode[% sep %]"itype"
1
mfirstname[% sep %]card number[% sep %]firstname[% sep %]branchname[% sep %]date[% sep %]accounttype[% sep %]amount[% sep %]title[% sep %]barcode[% sep %]itype
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/cash_register_stats.tt (-1 / +1 lines)
Lines 1-5 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 %]
4
    [%- FOREACH field IN row;
4
    [%- FOREACH field IN row;
5
       field IF !loop.last;
5
       field IF !loop.last;
(-)a/reports/cash_register_stats.pl (-2 / +1 lines)
Lines 169-175 if ($do_it) { Link Here
169
        my $csvTemplate = C4::Templates::gettemplate('reports/csv/cash_register_stats.tt', 'intranet', $input);
169
        my $csvTemplate = C4::Templates::gettemplate('reports/csv/cash_register_stats.tt', 'intranet', $input);
170
            $csvTemplate->param(sep => $delimiter, rows => \@rows, total => \@total );
170
            $csvTemplate->param(sep => $delimiter, rows => \@rows, total => \@total );
171
        print $csvTemplate->output;
171
        print $csvTemplate->output;
172
        exit(1);
172
        exit;
173
    }
173
    }
174
174
175
}
175
}
176
- 

Return to bug 18734