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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-1 / +1 lines)
Lines 581-587 Link Here
581
                                [% END %]
581
                                [% END %]
582
                            [% END # /UNLESS multi_hold %]
582
                            [% END # /UNLESS multi_hold %]
583
583
584
                            [% IF ( reserve_in_future ) %]
584
                            [% IF ( Koha.Preference('AllowHoldDateInFuture') ) %]
585
                                <li>
585
                                <li>
586
                                    <label for="from">Hold starts on date:</label>
586
                                    <label for="from">Hold starts on date:</label>
587
                                    <input id="reserve_date" name="reserve_date" id="from" size="10" type="text" data-date_to="expiration_date" class="flatpickr" data-flatpickr-futuredate="true" />
587
                                    <input id="reserve_date" name="reserve_date" id="from" size="10" type="text" data-date_to="expiration_date" class="flatpickr" data-flatpickr-futuredate="true" />
(-)a/reserve/request.pl (-5 lines)
Lines 713-722 $template->param( Link Here
713
# pass the userenv branch if no pickup location selected
713
# pass the userenv branch if no pickup location selected
714
$template->param( pickup => $pickup || C4::Context->userenv->{branch} );
714
$template->param( pickup => $pickup || C4::Context->userenv->{branch} );
715
715
716
if ( C4::Context->preference( 'AllowHoldDateInFuture' ) ) {
717
    $template->param( reserve_in_future => 1 );
718
}
719
720
$template->param(borrowernumber => $borrowernumber_hold);
716
$template->param(borrowernumber => $borrowernumber_hold);
721
717
722
# printout the page
718
# printout the page
723
- 

Return to bug 31519