@@ -, +, @@ (cash_register_stats.pl) - create some accountlines transactions, some of which specify a payment_type + will need patron accounts to charge fines too etc. - view the cash register report under Reports > Statistics wizard - no payment type is listed - apply patch - run the report again, payment type column appears alongside transaction type - export results to CSV, payment type column is included --- .../en/includes/csv_headers/reports/cash_register_stats.tt | 2 +- .../prog/en/modules/reports/cash_register_stats.tt | 4 +++- reports/cash_register_stats.pl | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt @@ -1, +1, @@ -[%- BLOCK -%]Manager name[% sep | html %]Patron cardnumber[% sep | html %]Patron name[% sep | html %]Transaction library[% sep | html %]Transaction date[% sep | html %]Transaction type[% sep |html %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%] +[%- BLOCK -%]Manager name[% sep | html %]Patron cardnumber[% sep | html %]Patron name[% sep | html %]Transaction library[% sep | html %]Transaction date[% sep | html %]Transaction type[% sep |html %]Payment type[% sep | html %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt @@ -74,7 +74,7 @@ [% END %] [% END %] - + [% FOREACH credit_type IN credit_types %] [% IF transaction_type == credit_type.code %] @@ -134,6 +134,7 @@