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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt (-1 / +1 lines)
Line 1 Link Here
1
[%- BLOCK -%]mfirstname[% sep | html %]card number[% sep | html %]firstname[% sep | html %]branchname[% sep | html %]date[% sep | html %]accounttype[% sep | html %]amount[% sep | html %]title[% sep | html %]barcode[% sep | html %]itype[%- END -%]
1
[%- BLOCK -%]Manager name[% sep | html %]Patron cardnumber[% sep | html %]Patron name[% sep | html %]Transaction library[% sep | html %]Transaction date[% sep | html %]Transaction type[% sep |html %]Notes[% sep | html %]Amount[% sep | html %]Title[% sep | html %]Barcode[% sep | html %]Item type[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-1 / +1 lines)
Lines 131-137 Link Here
131
                    </select>
131
                    </select>
132
                </li>
132
                </li>
133
                <li>
133
                <li>
134
                    <label>Transaction branch</label>
134
                    <label>Transaction library</label>
135
                    <select name="branch" id="branch">
135
                    <select name="branch" id="branch">
136
                        <option value="ALL">All</option>
136
                        <option value="ALL">All</option>
137
                        [% FOREACH branchloo IN branchloop %]
137
                        [% FOREACH branchloo IN branchloop %]
(-)a/reports/cash_register_stats.pl (-4 / +3 lines)
Lines 143-159 if ($do_it) { Link Here
143
        my $format = 'csv';
143
        my $format = 'csv';
144
        my $reportname = $input->param('basename');
144
        my $reportname = $input->param('basename');
145
        my $reportfilename = $reportname ? "$reportname.$format" : "reportresults.$format" ;
145
        my $reportfilename = $reportname ? "$reportname.$format" : "reportresults.$format" ;
146
        #my $reportfilename = "$reportname.html" ;
147
        my $delimiter = C4::Context->preference('delimiter') || ',';
146
        my $delimiter = C4::Context->preference('delimiter') || ',';
148
            my @rows;
147
            my @rows;
149
            foreach my $row (@loopresult) {
148
            foreach my $row (@loopresult) {
150
                my @rowValues;
149
                my @rowValues;
151
                push @rowValues, $row->{mfirstname},
150
                push @rowValues, $row->{mfirstname}. ' ' . $row->{msurname},
152
                        $row->{cardnumber},
151
                        $row->{cardnumber},
153
                        $row->{bfirstname},
152
                        $row->{bfirstname} . ' ' . $row->{bsurname},
154
                        $row->{branchname},
153
                        $row->{branchname},
155
                        $row->{date},
154
                        $row->{date},
156
                        $row->{accounttype},
155
                        $row->{accounttype},
156
                        $row->{note},
157
                        $row->{amount},
157
                        $row->{amount},
158
                        $row->{title},
158
                        $row->{title},
159
                        $row->{barcode},
159
                        $row->{barcode},
160
- 

Return to bug 22090