From 606ccdc2587406cdc24244563b0ff41b4721d4c1 Mon Sep 17 00:00:00 2001 From: Bouzid Fergani Date: Thu, 28 Jul 2016 09:38:01 -0400 Subject: [PATCH] [PASSED QA] 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 --- .../prog/en/modules/reports/cash_register_stats.tt | 2 +- .../prog/en/modules/reports/reports-home.tt | 28 +++++++++++----------- reports/cash_register_stats.pl | 2 -- 3 files changed, 15 insertions(+), 17 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 01e0e4a..5de0626 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 18eedd2..2430092 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

    - - - [% IF UseKohaPlugins %] -

    Report Plugins

    +

    Statistics wizards

    + + [% IF UseKohaPlugins %] +

    Report plugins

    + [% END %] diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 40ee489..ac5ea90 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; -- 1.9.1