diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt index 425d3339ef..341ebcaaee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt @@ -85,13 +85,13 @@ $(document).ready(function() {

  1. - - + +
    [% INCLUDE 'date-format.inc' %]
  2. - - + +
    [% INCLUDE 'date-format.inc' %]
  3. diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 7d89e65ae9..2384ae38cb 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -24,7 +24,6 @@ use C4::Koha; use C4::Circulation; use DateTime; use Koha::DateUtils; -use C4::Budgets qw/GetCurrency GetCurrencies/; use Text::CSV::Encoded; #use Data::Dumper; #use Smart::Comments; @@ -64,9 +63,9 @@ my $manualinv_types = $sth_manualinv->fetchall_arrayref({}); if ($do_it) { - $fromDate = output_pref({ dt => eval { dt_from_string($input->param("filter_date_begin")) } || dt_from_string, + $fromDate = output_pref({ dt => eval { dt_from_string($input->param("from")) } || dt_from_string, dateformat => 'sql', dateonly => 1 }); #for sql query - $toDate = output_pref({ dt => eval { dt_from_string($input->param("filter_date_end")) } || dt_from_string, + $toDate = output_pref({ dt => eval { dt_from_string($input->param("to")) } || dt_from_string, dateformat => 'sql', dateonly => 1 }); #for sql query my $whereTType = ''; @@ -132,7 +131,6 @@ if ($do_it) { #} } - my @currency = GetCurrency(); $grantotal = sprintf("%.2f", $grantotal); if($output eq 'screen'){