From 5469ae4eea46416410bddaef4934aa1db6e767f9 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 7 Apr 2019 18:23:32 +0000 Subject: [PATCH] Bug 22090: Add missing information to cash register CSV file Some information was missing from the CSV export file of the Cash register report: manager surname, patron surname and payment notes. Also pretties up the column headers a bit and makes the sequence between GUI and CSV export match. To test: - Make sure you have some fines and fees and payments in your system - Make a search with the Cash register report - Export results as CSV - Proof read hader line and make sure contents match headings - Verify first name and surname are shown for manager and patron - Verify notes show up Signed-off-by: Michal Denar Signed-off-by: Chris Cormack Signed-off-by: Nick Clemens (cherry picked from commit 1a2572915b4bf4a11b3a65c3a65e506610263a03) Signed-off-by: Martin Renvoize --- .../en/includes/csv_headers/reports/cash_register_stats.tt | 2 +- .../prog/en/modules/reports/cash_register_stats.tt | 2 +- reports/cash_register_stats.pl | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt index ffc92c8c96..a475c76d6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt @@ -1 +1 @@ -[%- BLOCK -%]mfirstname[% sep | html %]card number[% sep | html %]firstname[% sep | html %]branchname[% sep | html %]date[% sep | html %]accounttype[% sep | html %]amount[% sep | html %]title[% sep | html %]barcode[% sep | html %]itype[%- 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 %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt index fda28c2250..ebeb2bdde4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt @@ -132,7 +132,7 @@
  • - +