|
Lines 499-505
Link Here
|
| 499 |
|
499 |
|
| 500 |
<div class="modal-footer"> |
500 |
<div class="modal-footer"> |
| 501 |
<input type="hidden" name="cancel_reserve" value="0" /> |
501 |
<input type="hidden" name="cancel_reserve" value="0" /> |
| 502 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
502 |
<input id="confirm-hold-barcode" type="hidden" name="barcode" value="[% barcode | html %]" /> |
| 503 |
|
503 |
|
| 504 |
<button type="submit" class="btn btn-default approve" data-dismiss="modal"> |
504 |
<button type="submit" class="btn btn-default approve" data-dismiss="modal"> |
| 505 |
<i class="fa fa-check"></i> Confirm hold |
505 |
<i class="fa fa-check"></i> Confirm hold |
|
Lines 1084-1090
Link Here
|
| 1084 |
|
1084 |
|
| 1085 |
$('.print').on("click",function(e){ |
1085 |
$('.print').on("click",function(e){ |
| 1086 |
this.form.print_slip.value = 1; |
1086 |
this.form.print_slip.value = 1; |
| 1087 |
this.form.barcode.remove(); |
1087 |
let barcode = document.getElementById('confirm-hold-barcode'); |
|
|
1088 |
if ( barcode ) barcode.remove(); |
| 1088 |
this.form.submit(); |
1089 |
this.form.submit(); |
| 1089 |
}); |
1090 |
}); |
| 1090 |
|
1091 |
|
| 1091 |
- |
|
|