From d1def24428eb48e4eaa7e546c8b589ae5be540e6 Mon Sep 17 00:00:00 2001 From: Ivan Dziuba Date: Thu, 6 May 2021 15:33:02 -0400 Subject: [PATCH] Bug 28264: Transaction type is empty is cash register statistics wizard report To test: 1) Go into a patron file and add some manual fees and pay them 2) Go to Reports > Statistics wizards > Cash register 3) In the form, choose Transaction type: All transactions 4) Click "Submit" 5) Note that the Transaction type column is empty 6) In the form, choose Output: To a file 7) Click "Submit" 8) Open the file in a spreadsheet software (I use LibreOffice) 9) The Transaction type column IS NOT empty Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- reports/cash_register_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index a59fcdb5f7..40f358e549 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -167,7 +167,7 @@ if ($do_it) { $row->{branchname}, $row->{date}, $row->{timestamp}, - $row->{credit_type}, + $row->{credit_type_code}, $row->{debit_type}, $row->{note}, $row->{amount}, -- 2.39.5