Lines 1-3
Link Here
|
|
|
1 |
[% USE AuthorisedValues %] |
1 |
<!-- Cancel booking modal --> |
2 |
<!-- Cancel booking modal --> |
2 |
<div class="modal" id="cancelBookingModal" tabindex="-1" role="dialog" aria-labelledby="cancelBookingLabel"> |
3 |
<div class="modal" id="cancelBookingModal" tabindex="-1" role="dialog" aria-labelledby="cancelBookingLabel"> |
3 |
<form method="get" id="cancelBookingForm"> |
4 |
<form method="get" id="cancelBookingForm"> |
Lines 11-16
Link Here
|
11 |
<div id="cancel_booking_result"></div> |
12 |
<div id="cancel_booking_result"></div> |
12 |
<input type="hidden" name="booking_id" id="cancel_booking_id"> |
13 |
<input type="hidden" name="booking_id" id="cancel_booking_id"> |
13 |
<p>Are you sure you want to cancel this booking?</p> |
14 |
<p>Are you sure you want to cancel this booking?</p> |
|
|
15 |
<fieldset class="brief"> |
16 |
[% SET booking_cancellation = AuthorisedValues.GetAuthValueDropbox('BOOKING_CANCELLATION') %] |
17 |
<div class="combobox-container"> |
18 |
<label for="cancellation-reason" class="form-label">Cancellation Reason:</label> |
19 |
<input type="text" id="cancellation-reason" name="cancellation_reason" class="form-control" /> |
20 |
<ul id="cancellation-reason-list" class="dropdown-menu position-fixed" style="max-height: 200px; overflow-y: auto; max-width: fit-content;"> |
21 |
[% IF booking_cancellation.count %] |
22 |
[% FOR reason IN booking_cancellation %] |
23 |
<li> |
24 |
<button type="button" class="dropdown-item" data-id="[% reason.authorised_value | html %]"> |
25 |
[% reason.lib | html %] |
26 |
</button> |
27 |
</li> |
28 |
[% END %] |
29 |
[% END %] |
30 |
</ul> |
31 |
</div> |
32 |
</fieldset> <!-- /.brief --> |
14 |
</div> <!-- /.modal-body --> |
33 |
</div> <!-- /.modal-body --> |
15 |
<div class="modal-footer"> |
34 |
<div class="modal-footer"> |
16 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Yes, cancel booking</button> |
35 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Yes, cancel booking</button> |