Lines 1-17
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Reports [% IF ( do_it ) %]› Cash Register Statistics › Results[% ELSE %]› Cash Register Statistics[% END %]</title> |
3 |
<title>Koha › Reports [% IF ( do_it ) %]› Cash register statistics › Results[% ELSE %]› Cash register statistics[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
[% INCLUDE 'datatables.inc' %] |
6 |
[% INCLUDE 'datatables.inc' %] |
6 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
8 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
8 |
<script type="text/javascript" id="js">$(document).ready(function() { |
9 |
<script type="text/javascript" id="js"> |
9 |
$(document).ready(function() { |
10 |
$(document).ready(function() { |
10 |
$("#tbl_cash_register_stats").dataTable($.extend(true, {}, dataTablesDefaults, { |
11 |
$("#tbl_cash_register_stats").dataTable($.extend(true, {}, dataTablesDefaults, { |
11 |
"iDisplayLength": 50 |
12 |
"iDisplayLength": 50, |
|
|
13 |
"sPaginationType": "full_numbers" |
12 |
})); |
14 |
})); |
13 |
}); |
15 |
}); |
14 |
}); </script> |
16 |
</script> |
15 |
[% INCLUDE 'calendar.inc' %] |
17 |
[% INCLUDE 'calendar.inc' %] |
16 |
<script type="text/javascript"> |
18 |
<script type="text/javascript"> |
17 |
//<![CDATA[ |
19 |
//<![CDATA[ |
Lines 25-31
function isNull(f,noalert) {
Link Here
|
25 |
} |
27 |
} |
26 |
|
28 |
|
27 |
$(document).ready(function() { |
29 |
$(document).ready(function() { |
28 |
|
|
|
29 |
// http://jqueryui.com/demos/datepicker/#date-range |
30 |
// http://jqueryui.com/demos/datepicker/#date-range |
30 |
var dates = $( "#filter_date_begin, #filter_date_end" ).datepicker({ |
31 |
var dates = $( "#filter_date_begin, #filter_date_end" ).datepicker({ |
31 |
changeMonth: true, |
32 |
changeMonth: true, |
Lines 56-63
$(document).ready(function() {
Link Here
|
56 |
alert(alertString); |
57 |
alert(alertString); |
57 |
return false; |
58 |
return false; |
58 |
} |
59 |
} |
59 |
|
|
|
60 |
$(this).submit(); |
61 |
}); |
60 |
}); |
62 |
}); |
61 |
}); |
63 |
|
62 |
|
Lines 73-81
$(document).ready(function() {
Link Here
|
73 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> |
72 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> |
74 |
› |
73 |
› |
75 |
[% IF ( do_it ) %] |
74 |
[% IF ( do_it ) %] |
76 |
<a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash Register Statistics</a> › Results |
75 |
<a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register statistics</a> › Results |
77 |
[% ELSE %] |
76 |
[% ELSE %] |
78 |
Cash Register Statistics |
77 |
Cash register statistics |
79 |
[% END %] |
78 |
[% END %] |
80 |
</div> |
79 |
</div> |
81 |
|
80 |
|
Lines 88-94
$(document).ready(function() {
Link Here
|
88 |
<h1>Cash register statistics</h1> |
87 |
<h1>Cash register statistics</h1> |
89 |
<form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister"> |
88 |
<form method="post" action="/cgi-bin/koha/reports/cash_register_stats.pl" id="frmCashRegister"> |
90 |
<fieldset class="rows"> |
89 |
<fieldset class="rows"> |
91 |
<legend>Cash Register statistics [% beginDate %] to [% endDate %]</legend> |
90 |
<legend>Cash register statistics [% beginDate | $KohaDates %] to [% endDate | $KohaDates %]</legend> |
92 |
<table> |
91 |
<table> |
93 |
<thead> |
92 |
<thead> |
94 |
<tr> |
93 |
<tr> |
Lines 99-107
$(document).ready(function() {
Link Here
|
99 |
<tr> |
98 |
<tr> |
100 |
<td> |
99 |
<td> |
101 |
<label for="filter_date_begin">From</label> |
100 |
<label for="filter_date_begin">From</label> |
102 |
<input type="text" size="10" id="filter_date_begin" name="filter_date_begin" value="[% beginDate %]" /> |
101 |
<input type="text" size="10" id="filter_date_begin" name="filter_date_begin" value="[% beginDate | $KohaDates %]" /> |
103 |
<label for="filter_date_end">To</label> |
102 |
<label for="filter_date_end">To</label> |
104 |
<input type="text" size="10" id="filter_date_end" name="filter_date_end" value="[% endDate %]" /> |
103 |
<input type="text" size="10" id="filter_date_end" name="filter_date_end" value="[% endDate | $KohaDates %]" /> |
105 |
</td> |
104 |
</td> |
106 |
</tr> |
105 |
</tr> |
107 |
</tbody> |
106 |
</tbody> |
Lines 144-152
$(document).ready(function() {
Link Here
|
144 |
[% END %] |
143 |
[% END %] |
145 |
|
144 |
|
146 |
[% IF transaction_type == "FU" %] |
145 |
[% IF transaction_type == "FU" %] |
147 |
<option value="FU" selected="selected">Fine - long period</option> |
146 |
<option value="FU" selected="selected">Accruing fine</option> |
148 |
[% ELSE %] |
147 |
[% ELSE %] |
149 |
<option value="FU">Fine - long period</option> |
148 |
<option value="FU">Accruing fine</option> |
150 |
[% END %] |
149 |
[% END %] |
151 |
|
150 |
|
152 |
[% IF transaction_type == "PAY" %] |
151 |
[% IF transaction_type == "PAY" %] |
Lines 156-162
$(document).ready(function() {
Link Here
|
156 |
[% END %] |
155 |
[% END %] |
157 |
|
156 |
|
158 |
[% IF transaction_type == "A" %] |
157 |
[% IF transaction_type == "A" %] |
159 |
<option value="A" selected="selected">Account Management Fee</option> |
158 |
<option value="A" selected="selected">Account management fee</option> |
160 |
[% ELSE %] |
159 |
[% ELSE %] |
161 |
<option value="A">Account Management Fee</option> |
160 |
<option value="A">Account Management Fee</option> |
162 |
[% END %] |
161 |
[% END %] |
Lines 218-223
$(document).ready(function() {
Link Here
|
218 |
<label for="outputfile">To a file:</label> |
217 |
<label for="outputfile">To a file:</label> |
219 |
<input type="radio" name="output" value="file" id="outputfile" /> |
218 |
<input type="radio" name="output" value="file" id="outputfile" /> |
220 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
219 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
|
|
220 |
<label class="inline" for="sep">Delimiter: </label> |
221 |
<select name="sep" id="sep" size="1"> |
222 |
[% FOREACH value IN CGIsepChoice.values.sort() %] |
223 |
[% IF ( value == CGIsepChoice.default ) %] |
224 |
<option value="[% value %]" selected="selected">[% value %]</option> |
225 |
[% ELSE %] |
226 |
<option value="[% value %]">[% value %]</option> |
227 |
[% END %] |
228 |
[% END %] |
229 |
</select> |
230 |
|
221 |
</li> |
231 |
</li> |
222 |
</ol> |
232 |
</ol> |
223 |
</fieldset> |
233 |
</fieldset> |
Lines 233-247
$(document).ready(function() {
Link Here
|
233 |
<thead> |
243 |
<thead> |
234 |
<tr> |
244 |
<tr> |
235 |
<th>Manager name</th> |
245 |
<th>Manager name</th> |
236 |
<th>Borrower cardnumber</th> |
246 |
<th>Patron cardnumber</th> |
237 |
<th>Borrower name</th> |
247 |
<th>Patron name</th> |
238 |
<th>Branch</th> |
248 |
<th>Library</th> |
239 |
<th>Transaction date</th> |
249 |
<th>Transaction date</th> |
240 |
<th>Transaction type</th> |
250 |
<th>Transaction type</th> |
241 |
<th>Amount</th> |
251 |
<th>Amount</th> |
242 |
<th>Biblio title</th> |
252 |
<th>Biblio title</th> |
243 |
<th>Barcode</th> |
253 |
<th>Barcode</th> |
244 |
<th>Document type</th> |
254 |
<th>Item type</th> |
245 |
</tr> |
255 |
</tr> |
246 |
</thead> |
256 |
</thead> |
247 |
[% FOREACH loopresul IN loopresult %] |
257 |
[% FOREACH loopresul IN loopresult %] |
Lines 250-256
$(document).ready(function() {
Link Here
|
250 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber %]">[% loopresul.cardnumber %]</a></td> |
260 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopresul.borrowernumber %]">[% loopresul.cardnumber %]</a></td> |
251 |
<td>[% loopresul.bfirstname %] [% loopresul.bsurname %]</td> |
261 |
<td>[% loopresul.bfirstname %] [% loopresul.bsurname %]</td> |
252 |
<td>[% loopresul.branchname %]</td> |
262 |
<td>[% loopresul.branchname %]</td> |
253 |
<td>[% loopresul.date %]</td> |
263 |
<td>[% loopresul.date | $KohaDates %]</td> |
254 |
<td> |
264 |
<td> |
255 |
[% IF loopresul.accounttype == "ACT" %] |
265 |
[% IF loopresul.accounttype == "ACT" %] |
256 |
<span>Active transactions</span> |
266 |
<span>Active transactions</span> |
Lines 261-267
$(document).ready(function() {
Link Here
|
261 |
[% ELSIF loopresul.accounttype == "F" %] |
271 |
[% ELSIF loopresul.accounttype == "F" %] |
262 |
<span>Fine</span> |
272 |
<span>Fine</span> |
263 |
[% ELSIF loopresul.accounttype == "FU" %] |
273 |
[% ELSIF loopresul.accounttype == "FU" %] |
264 |
<span>Fine - long period</span> |
274 |
<span>Accruing fine</span> |
265 |
[% ELSIF loopresul.accounttype == "Pay" %] |
275 |
[% ELSIF loopresul.accounttype == "Pay" %] |
266 |
<span>Payment</span> |
276 |
<span>Payment</span> |
267 |
[% ELSIF loopresul.accounttype == "A" %] |
277 |
[% ELSIF loopresul.accounttype == "A" %] |