From 337be9f10e07020fd1673ab70836a41f974c8aeb Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Thu, 28 Jul 2016 09:38:01 -0400 Subject: [PATCH] Bug 6934: fix errors pointed out by the QA script Also fix forbidden patterns in koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt Signed-off-by: Hector Castro Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- .../en/modules/reports/cash_register_stats.tt | 2 +- .../prog/en/modules/reports/reports-home.tt | 24 +++++++++---------- reports/cash_register_stats.pl | 2 -- 3 files changed, 13 insertions(+), 15 deletions(-) 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 01e0e4abd6..5de06267db 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 @@ -287,7 +287,7 @@ $(document).ready(function() { [% IF transaction_type == "ACT" %] TOTAL - [% total %] + [% total | $Price %]   [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt index 1409a09ea9..9ce5d66ccc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt @@ -28,22 +28,22 @@
  • View dictionary
  • -

    Statistics wizards

    -
      -
    • Acquisitions
    • -
    • Patrons
    • -
    • Catalog
    • -
    • Circulation
    • -
    • Serials
    • -
    • Cash register
    • -
    • Holds
    • +

      Statistics wizards

      + [% IF UseKohaPlugins %] -

      Report plugins

      - [% END %] diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 40ee4890fd..ac5ea903f7 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -137,13 +137,11 @@ if ($do_it) { total => $grantotal, ); } else{ - my $q_errors; my $format = 'csv'; my $reportname = $input->param('basename'); my $reportfilename = $reportname ? "$reportname.$format" : "reportresults.$format" ; #my $reportfilename = "$reportname.html" ; my $delimiter = C4::Context->preference('delimiter') || ','; - my ( $content ); my @rows; foreach my $row (@loopresult) { my @rowValues; -- 2.39.5