Lines 77-82
Link Here
|
77 |
</li> |
77 |
</li> |
78 |
</ol> |
78 |
</ol> |
79 |
</fieldset> |
79 |
</fieldset> |
|
|
80 |
<fieldset class="rows"> |
81 |
<legend>Due date: </legend> |
82 |
<label for="duedatespec">Hard due date [% INCLUDE 'date-format.inc' %]:</label> |
83 |
<input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" /> |
84 |
</fieldset> |
80 |
<input type="hidden" name="op" value="show" /> |
85 |
<input type="hidden" name="op" value="show" /> |
81 |
<fieldset class="action"> |
86 |
<fieldset class="action"> |
82 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
87 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 274-279
Link Here
|
274 |
<input type="hidden" name="issueconfirmed" value="1" /> |
279 |
<input type="hidden" name="issueconfirmed" value="1" /> |
275 |
<input type="hidden" name="debt_confirmed" value="1" /> |
280 |
<input type="hidden" name="debt_confirmed" value="1" /> |
276 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
281 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
|
|
282 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
277 |
<input type="hidden" name="batch" value="1" /> |
283 |
<input type="hidden" name="batch" value="1" /> |
278 |
<input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" /> |
284 |
<input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" /> |
279 |
</fieldset> |
285 |
</fieldset> |
Lines 315-321
Link Here
|
315 |
], |
321 |
], |
316 |
"bPaginate": false |
322 |
"bPaginate": false |
317 |
})); |
323 |
})); |
|
|
324 |
|
325 |
$("#duedatespec").datetimepicker({ |
326 |
hour: 23, |
327 |
minute: 59 |
328 |
}).on("change", function(e, value) { |
329 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
330 |
}); |
318 |
}); |
331 |
}); |
|
|
332 |
|
319 |
</script> |
333 |
</script> |
320 |
[% INCLUDE 'str/members-menu.inc' %] |
334 |
[% INCLUDE 'str/members-menu.inc' %] |
321 |
[% Asset.js("js/members-menu.js") | $raw %] |
335 |
[% Asset.js("js/members-menu.js") | $raw %] |
322 |
- |
|
|