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},