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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 288-294 Link Here
288
                                                [% IF ( reserve_in_future ) %]
288
                                                [% IF ( reserve_in_future ) %]
289
                                                    <li>
289
                                                    <li>
290
                                                        <label for="from[% bibitemloo.biblionumber | html %]">Hold starts on date:</label>
290
                                                        <label for="from[% bibitemloo.biblionumber | html %]">Hold starts on date:</label>
291
                                                        <input type="text" name="reserve_date_[% bibitemloo.biblionumber | html %]" id="from[% bibitemloo.biblionumber | html %]" data-start_for="to[% bibitemloo.biblionumber | html %]" size="10" class="flatpickr holddatefrom" />
291
                                                        <input type="text" name="reserve_date_[% bibitemloo.biblionumber | html %]" id="from[% bibitemloo.biblionumber | html %]" data-start_for="to[% bibitemloo.biblionumber | html %]" size="10" class="flatpickr holddatefrom" value="[% today | $raw %]"/>
292
                                                        <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
292
                                                        <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
293
                                                        <div class="required_label" style="display:none;">Required</div>
293
                                                        <div class="required_label" style="display:none;">Required</div>
294
                                                    </li>
294
                                                    </li>
(-)a/opac/opac-reserve.pl (-1 / +2 lines)
Lines 35-40 use C4::Overdues; Link Here
35
use Koha::AuthorisedValues;
35
use Koha::AuthorisedValues;
36
use Koha::Biblios;
36
use Koha::Biblios;
37
use Koha::CirculationRules;
37
use Koha::CirculationRules;
38
use Koha::DateUtils qw( dt_from_string );
38
use Koha::Items;
39
use Koha::Items;
39
use Koha::ItemTypes;
40
use Koha::ItemTypes;
40
use Koha::Checkouts;
41
use Koha::Checkouts;
Lines 624-629 if ( Link Here
624
    ) {
625
    ) {
625
    $template->param(
626
    $template->param(
626
	    reserve_in_future         => 1,
627
	    reserve_in_future         => 1,
628
        today                     => dt_from_string,
627
    );
629
    );
628
}
630
}
629
631
630
- 

Return to bug 35977