Bug 6934: QA follow-up
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 28 Apr 2016 17:58:32 +0000 (19:58 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:50:25 +0000 (11:50 +0000)
- fixed tabs
- fixed capitalization on reports start page

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
reports/cash_register_stats.pl

index 7b8e6e6..1409a09 100644 (file)
@@ -35,7 +35,7 @@
                <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
                <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
-        <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash Register</a></li>
+        <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
                <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
       </ul>
 
index 7e7cb44..409aa4e 100755 (executable)
@@ -25,8 +25,6 @@ use C4::Circulation;
 use DateTime;
 use Koha::DateUtils;
 use Text::CSV::Encoded;
-#use Data::Dumper;
-#use Smart::Comments;
 
 my $input            = new CGI;
 my $dbh              = C4::Context->dbh;
@@ -153,32 +151,32 @@ if ($do_it) {
             $csv or die "Text::CSV::Encoded->new({binary => 1}) FAILED: " . Text::CSV::Encoded->error_diag();
             my @headers = ();
             push @headers, "mfirstname",
-                                   "cardnumber",
-                                   "bfirstname",
-                                   "branchname",
-                                   "date",
-                                   "accounttype",
-                                   "amount",
-                                   "title",
-                                   "barcode",
-                                   "itype";
+                        "cardnumber",
+                        "bfirstname",
+                        "branchname",
+                        "date",
+                        "accounttype",
+                        "amount",
+                        "title",
+                        "barcode",
+                        "itype";
             if ($csv->combine(@headers)) {
                 $content .= Encode::decode('UTF-8', $csv->string()) . "\n";
             } else {
                 push @$q_errors, { combine => 'HEADER ROW: ' . $csv->error_diag() } ;
             }
             foreach my $row (@loopresult) {
-                               my @rowValues = ();
+                my @rowValues = ();
                 push @rowValues, $row->{mfirstname},
                         $row->{cardnumber},
-                                               $row->{bfirstname},
-                                               $row->{branchname},
-                                               $row->{date},
-                                               $row->{accounttype},
-                                               $row->{amount},
-                                               $row->{title},
-                                               $row->{barcode};
-                                               $row->{itype};
+                        $row->{bfirstname},
+                        $row->{branchname},
+                        $row->{date},
+                        $row->{accounttype},
+                        $row->{amount},
+                        $row->{title},
+                        $row->{barcode};
+                        $row->{itype};
                 if ($csv->combine(@rowValues)) {
                     $content .= Encode::decode('UTF-8',$csv->string()) . "\n";
                 } else {