|
Lines 847-853
Link Here
|
| 847 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
847 |
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] |
| 848 |
[% IF hold_cancellation %] |
848 |
[% IF hold_cancellation %] |
| 849 |
<label for="cancellation-reason">Cancellation reason:</label> |
849 |
<label for="cancellation-reason">Cancellation reason:</label> |
| 850 |
<select name="cancellation-reason"> |
850 |
<select id="cancellation-reason" name="cancellation-reason"> |
| 851 |
<option value="">No reason given</option> |
851 |
<option value="">No reason given</option> |
| 852 |
[% FOREACH reason IN hold_cancellation %] |
852 |
[% FOREACH reason IN hold_cancellation %] |
| 853 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
853 |
<option value="[% reason.authorised_value | html %]">[% reason.lib | html %]</option> |
|
Lines 998-1003
Link Here
|
| 998 |
$("#picture-upload, #show-picture-upload").toggle(); |
998 |
$("#picture-upload, #show-picture-upload").toggle(); |
| 999 |
}); |
999 |
}); |
| 1000 |
|
1000 |
|
|
|
1001 |
|
| 1002 |
$("#cancellation-reason").on("change", function(e){ |
| 1003 |
$("#cancellation-notify-patron").prop("disabled", $(this).val() == ""); |
| 1004 |
}); |
| 1005 |
$("#cancellation-reason").change(); |
| 1006 |
|
| 1001 |
}); |
1007 |
}); |
| 1002 |
function uncheck_sibling(me){ |
1008 |
function uncheck_sibling(me){ |
| 1003 |
nodename=me.getAttribute("name"); |
1009 |
nodename=me.getAttribute("name"); |