Lines 768-773
Link Here
|
768 |
[% Asset.js("js/holds.js") | $raw %] |
768 |
[% Asset.js("js/holds.js") | $raw %] |
769 |
[% INCLUDE 'calendar.inc' %] |
769 |
[% INCLUDE 'calendar.inc' %] |
770 |
[% Asset.js("js/cancel_booking_modal.js") | $raw %] |
770 |
[% Asset.js("js/cancel_booking_modal.js") | $raw %] |
|
|
771 |
[% Asset.js("js/combobox.js") | $raw %] |
771 |
[% INCLUDE 'js-biblio-format.inc' %] |
772 |
[% INCLUDE 'js-biblio-format.inc' %] |
772 |
[% INCLUDE 'str/members-menu.inc' %] |
773 |
[% INCLUDE 'str/members-menu.inc' %] |
773 |
[% Asset.js("js/members-menu.js") | $raw %] |
774 |
[% Asset.js("js/members-menu.js") | $raw %] |
Lines 826-831
Link Here
|
826 |
$("#view_guarantees_finesandcharges").on("click", function () { |
827 |
$("#view_guarantees_finesandcharges").on("click", function () { |
827 |
$("#guarantees_finesandcharges-tab").click(); |
828 |
$("#guarantees_finesandcharges-tab").click(); |
828 |
}); |
829 |
}); |
|
|
830 |
|
831 |
$("#cancellation-reason").comboBox({ |
832 |
displayProperty: 'name', |
833 |
placeholder: _("Select or type a reason"), |
834 |
}); |
835 |
|
836 |
document.getElementById("cancelBookingModal")?.addEventListener('hide.bs.modal', () => { |
837 |
$("#cancellation-reason").comboBox('reset'); |
838 |
}); |
829 |
}); |
839 |
}); |
830 |
</script> |
840 |
</script> |
831 |
[% Asset.js("js/tables/bookings.js") | $raw %] |
841 |
[% Asset.js("js/tables/bookings.js") | $raw %] |
832 |
- |
|
|