From 3cf7523e14e172ea1caf59ccae015ba108e3eca9 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 Signed-off-by: Kyle M Hall (cherry picked from commit 168866bb82affc3314daf2a74ae4cca0a0c9e794) Signed-off-by: Fridolin Somers --- 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 8e8f46ce72..e0a771c608 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.39.5