Lines 1264-1269
Link Here
|
1264 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
1264 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
1265 |
[% END %] |
1265 |
[% END %] |
1266 |
</select> |
1266 |
</select> |
|
|
1267 |
|
1268 |
<input type="checkbox" name="cancellation-notify-patron" id="cancellation-notify-patron" value="1" checked/> |
1269 |
<label for="cancellation-notify-patron">Notify patron</label> |
1267 |
[% END %] |
1270 |
[% END %] |
1268 |
</fieldset> |
1271 |
</fieldset> |
1269 |
</div> |
1272 |
</div> |
Lines 1458-1463
Link Here
|
1458 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
1461 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
1459 |
[% END %] |
1462 |
[% END %] |
1460 |
</select> |
1463 |
</select> |
|
|
1464 |
|
1465 |
<input type="checkbox" name="cancellation-notify-patron" id="cancellation-notify-patron" value="1" checked> |
1466 |
<label for="cancellation-notify-patron">Notify patron</label> |
1461 |
[% END %] |
1467 |
[% END %] |
1462 |
</fieldset> |
1468 |
</fieldset> |
1463 |
</div> |
1469 |
</div> |
Lines 1852-1862
Link Here
|
1852 |
e.preventDefault; |
1858 |
e.preventDefault; |
1853 |
cancel_link = $(this); |
1859 |
cancel_link = $(this); |
1854 |
$("#cancel_modal_form #inputs").empty(); |
1860 |
$("#cancel_modal_form #inputs").empty(); |
1855 |
let reserve_id = cancel_link.data('id'); |
1861 |
let reserve_id = cancel_link.data('id'); |
1856 |
let biblionumber = cancel_link.data('biblionumber'); |
1862 |
let biblionumber = cancel_link.data('biblionumber'); |
1857 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="reserve_id" value="' + reserve_id + '">'); |
1863 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="reserve_id" value="' + reserve_id + '">'); |
1858 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="biblionumber" value="' + biblionumber + '">'); |
1864 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="biblionumber" value="' + biblionumber + '">'); |
1859 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="op" value="cud-cancel">'); |
1865 |
$("#cancel_modal_form #inputs").append('<input type="hidden" name="op" value="cud-cancel">'); |
1860 |
$('#cancelModal').modal('show'); |
1866 |
$('#cancelModal').modal('show'); |
1861 |
return false; |
1867 |
return false; |
1862 |
}); |
1868 |
}); |