View | Details | Raw Unified | Return to bug 6934
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-1 / +1 lines)
Lines 287-293 $(document).ready(function() { Link Here
287
        <tr>
287
        <tr>
288
            [% IF transaction_type == "ACT" %]
288
            [% IF transaction_type == "ACT" %]
289
            <th colspan="7" style="text-align:right;">TOTAL</th>
289
            <th colspan="7" style="text-align:right;">TOTAL</th>
290
            <th style="text-align:right;">[% total %]</th>
290
            <th style="text-align:right;">[% total  | $Price %]</th>
291
            <th colspan="3">&nbsp;</th>
291
            <th colspan="3">&nbsp;</th>
292
            [% END %]
292
            [% END %]
293
        </tr>
293
        </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt (-14 / +14 lines)
Lines 28-49 Link Here
28
            <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
28
            <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
29
        </ul>
29
        </ul>
30
30
31
	<h2>Statistics wizards</h2>
31
        <h2>Statistics wizards</h2>
32
	<ul>
33
		<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
34
		<li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
35
		<li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
36
		<li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
37
		<li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
38
        <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
39
		<li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
40
      </ul>
41
42
        [% IF UseKohaPlugins %]
43
        <h2>Report Plugins</h2>
44
        <ul>
32
        <ul>
45
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report Plugins</a></li>
33
            <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
34
            <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
35
            <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
36
            <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
37
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
38
            <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
39
            <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
46
        </ul>
40
        </ul>
41
42
        [% IF UseKohaPlugins %]
43
            <h2>Report plugins</h2>
44
            <ul>
45
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
46
            </ul>
47
        [% END %]
47
        [% END %]
48
48
49
    </div>
49
    </div>
(-)a/reports/cash_register_stats.pl (-3 lines)
Lines 137-149 if ($do_it) { Link Here
137
            total => $grantotal,
137
            total => $grantotal,
138
        );
138
        );
139
    } else{
139
    } else{
140
        my $q_errors;
141
        my $format = 'csv';
140
        my $format = 'csv';
142
        my $reportname = $input->param('basename');
141
        my $reportname = $input->param('basename');
143
        my $reportfilename = $reportname ? "$reportname.$format" : "reportresults.$format" ;
142
        my $reportfilename = $reportname ? "$reportname.$format" : "reportresults.$format" ;
144
        #my $reportfilename = "$reportname.html" ;
143
        #my $reportfilename = "$reportname.html" ;
145
        my $delimiter = C4::Context->preference('delimiter') || ',';
144
        my $delimiter = C4::Context->preference('delimiter') || ',';
146
        my ( $content );
147
            my @rows;
145
            my @rows;
148
            foreach my $row (@loopresult) {
146
            foreach my $row (@loopresult) {
149
                my @rowValues;
147
                my @rowValues;
150
- 

Return to bug 6934