From d89f6d2d8695b0b2044f868dc4e3dc46167958d4 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 --- 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 e0a01f4636..72769264ac 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -166,7 +166,7 @@ if ($do_it) { $row->{bfirstname} . ' ' . $row->{bsurname}, $row->{branchname}, $row->{date}, - $row->{credit_type}, + $row->{credit_type_code}, $row->{debit_type}, $row->{note}, $row->{amount}, -- 2.17.1