View | Details | Raw Unified | Return to bug 39584
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js (-2 / +1 lines)
Lines 767-773 $("#placeBookingModal").on("show.bs.modal", function (e) { Link Here
767
767
768
                                const maxDate = new Date(startDate.getTime());
768
                                const maxDate = new Date(startDate.getTime());
769
                                maxDate.setDate(
769
                                maxDate.setDate(
770
                                    maxDate.getDate() + totalIssueLength
770
                                    maxDate.getDate() + totalIssueLength + parseInt(trailDays)
771
                                );
771
                                );
772
772
773
                                // Update the maxDate option of the flatpickr instance
773
                                // Update the maxDate option of the flatpickr instance
774
- 

Return to bug 39584