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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-3 / +42 lines)
Lines 1049-1056 Link Here
1049
                                <fieldset class="rows">
1049
                                <fieldset class="rows">
1050
                                    <legend>Hold details</legend>
1050
                                    <legend>Hold details</legend>
1051
                                    <form action="placerequest.pl" method="post" name="form" id="hold-request-form">
1051
                                    <form action="placerequest.pl" method="post" name="form" id="hold-request-form">
1052
                                            <input type="hidden" name="multi_holds" id="multi_holds" value="1" />
1052
                                        [% INCLUDE 'csrf-token.inc' %]
1053
                                            <input type="hidden" name="request" value="any"/>
1053
                                        <input type="hidden" name="op" value="cud-placerequest" />
1054
                                        <input type="hidden" name="multi_holds" id="multi_holds" value="1" />
1055
                                        <input type="hidden" name="request" value="any"/>
1054
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
1056
                                        <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
1055
                                            [% FOREACH biblioloo IN biblioloop %]
1057
                                            [% FOREACH biblioloo IN biblioloop %]
1056
                                                <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblioloo.biblionumber | html %]"/>
1058
                                                <input type="hidden" name="biblionumber" id="biblionumber" value="[% biblioloo.biblionumber | html %]"/>
Lines 1061-1066 Link Here
1061
                                                [% END %]
1063
                                                [% END %]
1062
                                            [% END %]
1064
                                            [% END %]
1063
1065
1066
                                        <ol>
1067
1068
                                            <li>
1069
                                                <span class="label">Patron:</span>
1070
                                                [% IF ( patron.borrowernumber ) %]
1071
                                                    [% INCLUDE 'patron-title.inc' patron => patron no_title => 1 hide_patron_infos_if_needed => 1 %]
1072
                                                [% ELSE %]
1073
                                                    Not defined yet
1074
                                                [% END %]
1075
                                            </li>
1076
1077
1078
                                            <li>
1079
                                                <label for="holdnotes">Notes:</label>
1080
                                                <textarea id="holdnotes" name="notes" cols="30" rows="1"></textarea>
1081
                                            </li>
1082
                                            <li>
1083
                                                <label for="pickup">Pickup at:</label>
1084
                                                <select name="pickup" id="pickup_multi" data-patron-id="[% patron.borrowernumber | html %]">
1085
                                                    <option value="" selected="selected"></option>
1086
                                                [% FOREACH pickup_location IN multi_pickup_locations %]
1087
                                                    <option value="[% pickup_location.branchcode | html %]">[% pickup_location.branchname | html %]</option>
1088
                                                [% END %]
1089
                                                </select>
1090
                                            </li>
1091
                                            [% IF ( Koha.Preference('AllowHoldDateInFuture') ) %]
1092
                                                <li>
1093
                                                    <label for="from">Hold starts on date:</label>
1094
                                                    <input id="reserve_date" name="reserve_date" id="from" size="10" type="text" data-date_to="expiration_date" class="flatpickr" data-flatpickr-futureinclusive="true" />
1095
                                                </li>
1096
                                            [% END %]
1097
1098
                                            <li>
1099
                                                <label for="to">Hold expires on date:</label>
1100
                                                <input id="expiration_date" name="expiration_date" id="to" size="10" type="text" class="flatpickr" data-flatpickr-futuredate="true" />
1101
                                            </li>
1102
1103
                                        </ol>
1064
                                    <table id="requesttitles">
1104
                                    <table id="requesttitles">
1065
                                        <tr>
1105
                                        <tr>
1066
                                            <th>&nbsp;</th>
1106
                                            <th>&nbsp;</th>
1067
- 

Return to bug 30579