Lines 1-6
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Branches %] |
3 |
[% USE Branches %] |
|
|
4 |
[% USE Koha %] |
4 |
[% USE KohaDates %] |
5 |
[% USE KohaDates %] |
5 |
[% USE Price %] |
6 |
[% USE Price %] |
6 |
[% USE AuthorisedValues %] |
7 |
[% USE AuthorisedValues %] |
Lines 77-82
Link Here
|
77 |
</li> |
78 |
</li> |
78 |
</ol> |
79 |
</ol> |
79 |
</fieldset> |
80 |
</fieldset> |
|
|
81 |
[% IF Koha.Preference('SpecifyDueDate') %] |
82 |
<fieldset class="rows"> |
83 |
<legend>Due date: </legend> |
84 |
<label for="duedatespec">Hard due date [% INCLUDE 'date-format.inc' %]:</label> |
85 |
<input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" /> |
86 |
</fieldset> |
87 |
[% END %] |
80 |
<input type="hidden" name="op" value="show" /> |
88 |
<input type="hidden" name="op" value="show" /> |
81 |
<fieldset class="action"> |
89 |
<fieldset class="action"> |
82 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
90 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 259-265
Link Here
|
259 |
[% END %] |
267 |
[% END %] |
260 |
|
268 |
|
261 |
[% IF checkout_info.issue.date_due %] |
269 |
[% IF checkout_info.issue.date_due %] |
262 |
<li>Due on [% checkout_info.issue.date_due | $KohaDates %]</li> |
270 |
<li>Due on [% checkout_info.issue.date_due | $KohaDates as_due_date => 1 %]</li> |
263 |
[% END %] |
271 |
[% END %] |
264 |
</td> |
272 |
</td> |
265 |
</tr> |
273 |
</tr> |
Lines 274-279
Link Here
|
274 |
<input type="hidden" name="issueconfirmed" value="1" /> |
282 |
<input type="hidden" name="issueconfirmed" value="1" /> |
275 |
<input type="hidden" name="debt_confirmed" value="1" /> |
283 |
<input type="hidden" name="debt_confirmed" value="1" /> |
276 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
284 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
|
|
285 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
277 |
<input type="hidden" name="batch" value="1" /> |
286 |
<input type="hidden" name="batch" value="1" /> |
278 |
<input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" /> |
287 |
<input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" /> |
279 |
</fieldset> |
288 |
</fieldset> |
Lines 315-321
Link Here
|
315 |
], |
324 |
], |
316 |
"bPaginate": false |
325 |
"bPaginate": false |
317 |
})); |
326 |
})); |
|
|
327 |
|
328 |
[% IF Koha.Preference('SpecifyDueDate') %] |
329 |
$("#duedatespec").datetimepicker({ |
330 |
onClose: function(dateText, inst) { |
331 |
validate_date(dateText, inst); |
332 |
}, |
333 |
hour: 23, |
334 |
minute: 59 |
335 |
}).on("change", function(e, value) { |
336 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
337 |
}); |
338 |
[% END %] |
318 |
}); |
339 |
}); |
|
|
340 |
|
319 |
</script> |
341 |
</script> |
320 |
[% INCLUDE 'str/members-menu.inc' %] |
342 |
[% INCLUDE 'str/members-menu.inc' %] |
321 |
[% Asset.js("js/members-menu.js") | $raw %] |
343 |
[% Asset.js("js/members-menu.js") | $raw %] |
322 |
- |
|
|