Lines 886-892
Link Here
|
886 |
<label for="suspend_untilDate">Suspend until:</label> |
886 |
<label for="suspend_untilDate">Suspend until:</label> |
887 |
<input type="text" name="suspend_until" id="suspend_untilDate" size="10" /> |
887 |
<input type="text" name="suspend_until" id="suspend_untilDate" size="10" /> |
888 |
[% INCLUDE 'date-format.inc' %] |
888 |
[% INCLUDE 'date-format.inc' %] |
889 |
<p><a href="#" id="suspend-modal-clear-date">Clear date to suspend indefinitely</a></p> |
889 |
<p><a href="#" class="clear-flatpickr" data-fp="suspend_untilDate">Clear date to suspend indefinitely</a></p> |
890 |
</div> |
890 |
</div> |
891 |
<div class="modal-footer"> |
891 |
<div class="modal-footer"> |
892 |
<button class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"></i> Suspend</button> |
892 |
<button class="btn btn-primary"><i class="fa fa-check" aria-hidden="true"></i> Suspend</button> |
Lines 987-997
Link Here
|
987 |
$("#suspendHoldModal").modal("show"); |
987 |
$("#suspendHoldModal").modal("show"); |
988 |
}); |
988 |
}); |
989 |
|
989 |
|
990 |
$("#suspend-modal-clear-date").on( "click", function(e) { |
|
|
991 |
e.preventDefault(); |
992 |
suspend_until_date.clear(); |
993 |
}); |
994 |
|
995 |
$("#suspendHoldModal").on("hidden.bs.modal", function(){ |
990 |
$("#suspendHoldModal").on("hidden.bs.modal", function(){ |
996 |
$("#suspendHoldTitle").html(""); |
991 |
$("#suspendHoldTitle").html(""); |
997 |
$("#suspendHoldReserveId").val(""); |
992 |
$("#suspendHoldReserveId").val(""); |
998 |
- |
|
|