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 287-293 Link Here
287
                                                [% IF ( reserve_in_future ) %]
287
                                                [% IF ( reserve_in_future ) %]
288
                                                    <li>
288
                                                    <li>
289
                                                        <label for="from[% bibitemloo.biblionumber | html %]">Hold starts on date:</label>
289
                                                        <label for="from[% bibitemloo.biblionumber | html %]">Hold starts on date:</label>
290
                                                        <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" />
290
                                                        <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 %]"/>
291
                                                        <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
291
                                                        <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
292
                                                        <div class="required_label" style="display:none;">Required</div>
292
                                                        <div class="required_label" style="display:none;">Required</div>
293
                                                    </li>
293
                                                    </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 623-628 if ( Link Here
623
    ) {
624
    ) {
624
    $template->param(
625
    $template->param(
625
	    reserve_in_future         => 1,
626
	    reserve_in_future         => 1,
627
        today                     => dt_from_string,
626
    );
628
    );
627
}
629
}
628
630
629
- 

Return to bug 35977