Bug 24177: Import Koha::Account::CreditTypes to cash_register_stats.pl
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 10 Dec 2019 07:56:55 +0000 (07:56 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Dec 2019 16:03:26 +0000 (16:03 +0000)
Test plan:
0) Do not apply the patch
1) Confirm the bug - go to Reports -> Cash register
--> You will see ISE
2) Apply the patch, and restart_all
3) Confirm the ISE is gone and you see the form for Cash register report

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

reports/cash_register_stats.pl

index 37aaace..d2f8c0f 100755 (executable)
@@ -27,6 +27,7 @@ use Koha::DateUtils;
 use Text::CSV::Encoded;
 use List::Util qw/any/;
 
+use Koha::Account::CreditTypes;
 use Koha::Account::DebitTypes;
 
 my $input            = new CGI;