Lines 36-44
Link Here
|
36 |
</div> |
36 |
</div> |
37 |
|
37 |
|
38 |
<div class="main container-fluid"> |
38 |
<div class="main container-fluid"> |
39 |
<main> |
39 |
<main> |
40 |
<div class="row"> |
40 |
<div class="row"> |
41 |
<div class="col-sm-10 col-sm-push-2"> |
41 |
<div class="col-sm-10 col-sm-push-2"> |
42 |
|
42 |
|
43 |
[% IF patron %] |
43 |
[% IF patron %] |
44 |
[% INCLUDE 'members-toolbar.inc' %] |
44 |
[% INCLUDE 'members-toolbar.inc' %] |
Lines 80-262
Link Here
|
80 |
[% END %] |
80 |
[% END %] |
81 |
|
81 |
|
82 |
[% IF ( NEEDSCONFIRMATION ) %] |
82 |
[% IF ( NEEDSCONFIRMATION ) %] |
83 |
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action"> |
83 |
<div id="circ_needsconfirmation" class="dialog alert audio-alert-action"> |
84 |
[% IF CAN_user_circulate_force_checkout %] |
84 |
[% IF CAN_user_circulate_force_checkout %] |
85 |
<h3>Please confirm checkout</h3> |
85 |
<h3>Please confirm checkout</h3> |
86 |
[% ELSE %] |
86 |
[% ELSE %] |
87 |
<h3>Cannot check out</h3> |
87 |
<h3>Cannot check out</h3> |
88 |
[% END %] |
88 |
[% END %] |
89 |
|
89 |
|
90 |
<ul> |
90 |
<ul> |
91 |
[%IF ( AGE_RESTRICTION ) %] |
91 |
[%IF ( AGE_RESTRICTION ) %] |
92 |
<li> |
92 |
<li> |
93 |
Age restriction [% AGE_RESTRICTION | html %]. |
93 |
Age restriction [% AGE_RESTRICTION | html %]. |
94 |
[% IF CAN_user_circulate_force_checkout %] |
94 |
[% IF CAN_user_circulate_force_checkout %] |
95 |
Check out anyway? |
95 |
Check out anyway? |
96 |
[% END %] |
96 |
[% END %] |
97 |
</li> |
97 |
</li> |
98 |
[% END %] |
98 |
[% END %] |
99 |
|
99 |
|
100 |
[% IF ( DEBT ) %] |
100 |
[% IF ( DEBT ) %] |
101 |
<li>The patron has a debt of [% DEBT | $Price %].</li> |
101 |
<li>The patron has a debt of [% DEBT | $Price %].</li> |
102 |
[% END %] |
102 |
[% END %] |
103 |
|
103 |
|
104 |
[% IF ( DEBT_GUARANTEES ) %] |
104 |
[% IF ( DEBT_GUARANTEES ) %] |
105 |
<li>The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].</li> |
105 |
<li>The patron's guarantees collectively have a debt of [% DEBT_GUARANTEES | $Price %].</li> |
106 |
[% END %] |
106 |
[% END %] |
107 |
|
107 |
|
108 |
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %] |
108 |
[% IF ( RENTALCHARGE && RENTALCHARGE > 0 ) %] |
109 |
<li>Rental charge for this item: [% RENTALCHARGE | $Price %]</li> |
109 |
<li>Rental charge for this item: [% RENTALCHARGE | $Price %]</li> |
110 |
[% END %] |
110 |
[% END %] |
111 |
|
111 |
|
112 |
[% IF ( RENEW_ISSUE ) %] |
112 |
[% IF ( RENEW_ISSUE ) %] |
113 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?</li> |
113 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is currently checked out to this patron. Renew?</li> |
114 |
[% END %] |
114 |
[% END %] |
115 |
|
115 |
|
116 |
[% IF ( RESERVE_WAITING ) %] |
116 |
[% IF ( RESERVE_WAITING ) %] |
117 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]</li> |
117 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been waiting for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% reswaitingdate | $KohaDates %]</li> |
118 |
[% END %] |
118 |
[% END %] |
119 |
|
119 |
|
120 |
[% IF ( RESERVED ) %] |
120 |
[% IF ( RESERVED ) %] |
121 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]</li> |
121 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) has been on hold for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% resborrowernumber | uri %]">[% resfirstname | html %] [% ressurname | html %]</a> ([% rescardnumber | html %]) at [% Branches.GetName( resbranchcode ) | html %] since [% resreservedate | $KohaDates %]</li> |
122 |
[% END %] |
122 |
[% END %] |
123 |
|
123 |
|
124 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
124 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
125 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber | uri %]">[% issued_firstname | html %] [% issued_surname | html %]</a> ([% issued_cardnumber | html %]). |
125 |
<li>Item <i>[% getTitleMessageIteminfo | html %]</i> ([% getBarcodeMessageIteminfo | html %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber | uri %]">[% issued_firstname | html %] [% issued_surname | html %]</a> ([% issued_cardnumber | html %]). |
126 |
[% IF CAN_user_circulate_force_checkout %] |
126 |
[% IF CAN_user_circulate_force_checkout %] |
127 |
Check in and check out? |
127 |
Check in and check out? |
128 |
[% END %] |
128 |
[% END %] |
129 |
</li> |
129 |
</li> |
130 |
[% END %] |
130 |
[% END %] |
131 |
|
131 |
|
132 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %] |
132 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_CHECKOUTS' %] |
133 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
133 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
134 |
[% END %] |
134 |
[% END %] |
135 |
|
135 |
|
136 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %] |
136 |
[% IF TOO_MANY and TOO_MANY == 'TOO_MANY_ONSITE_CHECKOUTS' %] |
137 |
<li>Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.</li> |
137 |
<li>Too many on-site checked out. [% current_loan_count | html %] on-site checked out, only [% max_loans_allowed | html %] are allowed.</li> |
138 |
[% END %] |
138 |
[% END %] |
139 |
|
139 |
|
140 |
[% IF ( BORRNOTSAMEBRANCH ) %] |
140 |
[% IF ( BORRNOTSAMEBRANCH ) %] |
141 |
<li>This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])</li> |
141 |
<li>This patron is from a different library ([% Branches.GetName( BORRNOTSAMEBRANCH ) | html %])</li> |
142 |
[% END %] |
142 |
[% END %] |
143 |
|
143 |
|
144 |
[% IF ( PATRON_CANT ) %] |
144 |
[% IF ( PATRON_CANT ) %] |
145 |
<li>This patron can't check out this item per library circulation policy.</li> |
145 |
<li>This patron can't check out this item per library circulation policy.</li> |
146 |
[% END %] |
146 |
[% END %] |
147 |
|
147 |
|
148 |
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %] |
148 |
[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %] |
149 |
<li>No circulation rule is defined for this patron and itemtype combination.</li> |
149 |
<li>No circulation rule is defined for this patron and itemtype combination.</li> |
150 |
[% END %] |
150 |
[% END %] |
151 |
|
151 |
|
152 |
[% IF ( NOT_FOR_LOAN_FORCING ) %] |
152 |
[% IF ( NOT_FOR_LOAN_FORCING ) %] |
153 |
<li> |
153 |
<li> |
154 |
[% IF ( itemtype_notforloan ) %] |
154 |
[% IF ( itemtype_notforloan ) %] |
155 |
Item type is normally not for loan. |
155 |
Item type is normally not for loan. |
156 |
[% ELSIF ( item_notforloan ) %] |
156 |
[% ELSIF ( item_notforloan ) %] |
157 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
157 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
158 |
Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
158 |
Item is normally not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
159 |
[% END %] |
159 |
[% END %] |
160 |
[% IF CAN_user_circulate_force_checkout %] |
160 |
[% IF CAN_user_circulate_force_checkout %] |
161 |
Check out anyway? |
161 |
Check out anyway? |
162 |
[% END %] |
162 |
[% END %] |
163 |
</li> |
163 |
</li> |
164 |
[% END %] |
164 |
[% END %] |
165 |
|
165 |
|
166 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
166 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
167 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). |
167 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). |
168 |
[% IF CAN_user_circulate_force_checkout %] |
168 |
[% IF CAN_user_circulate_force_checkout %] |
169 |
Check out anyway? |
169 |
Check out anyway? |
170 |
[% END %] |
170 |
[% END %] |
171 |
</li> |
171 |
</li> |
172 |
[% END %] |
172 |
[% END %] |
173 |
|
173 |
|
174 |
[% IF ( ITEM_LOST ) %] |
174 |
[% IF ( ITEM_LOST ) %] |
175 |
<li>This item has been lost with a status of "[% ITEM_LOST | html %]". |
175 |
<li>This item has been lost with a status of "[% ITEM_LOST | html %]". |
176 |
[% IF CAN_user_circulate_force_checkout %] |
176 |
[% IF CAN_user_circulate_force_checkout %] |
177 |
Check out anyway? |
177 |
Check out anyway? |
178 |
[% END %] |
178 |
[% END %] |
179 |
</li> |
179 |
</li> |
180 |
[% END %] |
180 |
[% END %] |
181 |
|
181 |
|
182 |
[% IF HIGHHOLDS %] |
182 |
[% IF HIGHHOLDS %] |
183 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li> |
183 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration | html %] days (due [% HIGHHOLDS.returndate | $KohaDates %]). Check out anyway?</li> |
184 |
[% END %] |
184 |
[% END %] |
185 |
|
185 |
|
186 |
[% IF PREVISSUE %] |
186 |
[% IF PREVISSUE %] |
187 |
<li>Patron has previously checked out this title: <b>[% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</b>. Check out anyway?</li> |
187 |
<li>Patron has previously checked out this title: <b>[% biblio.title | html %] [% IF biblio.author %] by [% biblio.author | html %][% END %]</b>. Check out anyway?</li> |
188 |
[% END %] |
188 |
[% END %] |
189 |
|
189 |
|
190 |
[% IF BIBLIO_ALREADY_ISSUED %] |
190 |
[% IF BIBLIO_ALREADY_ISSUED %] |
191 |
<li> |
191 |
<li> |
192 |
Patron has already checked out another item from this record. |
192 |
Patron has already checked out another item from this record. |
193 |
[% IF CAN_user_circulate_force_checkout %] |
193 |
[% IF CAN_user_circulate_force_checkout %] |
194 |
Check out anyway? |
194 |
Check out anyway? |
195 |
[% END %] |
195 |
[% END %] |
196 |
</li> |
196 |
</li> |
197 |
[% END %] |
197 |
[% END %] |
198 |
</ul> |
198 |
</ul> |
199 |
|
199 |
|
200 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
200 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
201 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
201 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
202 |
<input type="hidden" name="restoreduedatespec" /> |
202 |
<input type="hidden" name="restoreduedatespec" /> |
203 |
|
203 |
|
204 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
204 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
205 |
|
205 |
|
206 |
[% IF HIGHHOLDS %] |
206 |
[% IF HIGHHOLDS %] |
207 |
<p class="circ-override-high-holds"> |
207 |
<p class="circ-override-high-holds"> |
208 |
<input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" /> |
208 |
<input type="checkbox" name="override_high_holds_tmp" id="override_high_holds_tmp" value="1" /> |
209 |
<label for="override_high_holds_tmp">Don't decrease loan length based on holds</label> |
209 |
<label for="override_high_holds_tmp">Don't decrease loan length based on holds</label> |
210 |
</p> |
210 |
</p> |
211 |
[% END %] |
211 |
[% END %] |
212 |
|
212 |
|
213 |
[% IF ( RESERVED ) %] |
213 |
[% IF ( RESERVED ) %] |
214 |
<p> |
214 |
<p> |
215 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
215 |
<input type="checkbox" id="cancelreserve" name="cancelreserve" value="cancel" /> |
216 |
<label for="cancelreserve">Cancel hold</label> |
216 |
<label for="cancelreserve">Cancel hold</label> |
217 |
</p> |
217 |
</p> |
218 |
[% END %] |
218 |
[% END %] |
219 |
|
219 |
|
220 |
[% IF ( RESERVE_WAITING ) %] |
220 |
[% IF ( RESERVE_WAITING ) %] |
221 |
<p> |
221 |
<p> |
222 |
<label for="cancelreserve">Cancel hold</label> |
222 |
<label for="cancelreserve">Cancel hold</label> |
223 |
<input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br /> |
223 |
<input type="radio" value="cancel" name="cancelreserve" id="cancelreserve" /><br /> |
224 |
<label for="revertreserve">Revert waiting status</label> |
224 |
<label for="revertreserve">Revert waiting status</label> |
225 |
<input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/> |
225 |
<input type="radio" value="revert" name="cancelreserve" id="revertreserve" checked="checked"/> |
226 |
</p> |
226 |
</p> |
227 |
[% END %] |
227 |
[% END %] |
228 |
|
228 |
|
229 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
229 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
230 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
230 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
231 |
<input type="hidden" name="issueconfirmed" value="1" /> |
231 |
<input type="hidden" name="issueconfirmed" value="1" /> |
232 |
<input type="hidden" name="override_high_holds" value="[% override_high_holds | html %]"/> |
232 |
<input type="hidden" name="override_high_holds" value="[% override_high_holds | html %]"/> |
233 |
|
233 |
|
234 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
234 |
[% IF ( DEBT ) %]<input type="hidden" name="debt_confirmed" value="1" />[% END %] |
235 |
|
235 |
|
236 |
[% IF ( INVALID_DATE ) %] |
236 |
[% IF ( INVALID_DATE ) %] |
237 |
<p> |
237 |
<p> |
238 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
238 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" /> |
239 |
<label for="duedatespec">Due date</label> |
239 |
<label for="duedatespec">Due date</label> |
240 |
</p> |
240 |
</p> |
241 |
[% ELSE %] |
241 |
[% ELSE %] |
242 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
242 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
243 |
[% END %] |
243 |
[% END %] |
244 |
|
244 |
|
245 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
245 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
246 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
246 |
<input type="hidden" name="branch" value="[% branch | html %]" /> |
247 |
|
247 |
|
248 |
[% IF ( RENEW_ISSUE ) %] |
248 |
[% IF ( RENEW_ISSUE ) %] |
249 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button> |
249 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, renew (Y)</button> |
250 |
[% ELSE %] |
250 |
[% ELSE %] |
251 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button> |
251 |
<button type="submit" class="approve" accesskey="y"><i class="fa fa-check"></i> Yes, check out (Y)</button> |
252 |
[% END %] |
252 |
[% END %] |
253 |
|
253 |
|
254 |
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" /> |
254 |
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" /> |
255 |
<input type="hidden" name="auto_renew" value="[% auto_renew | html %]" /> |
255 |
<input type="hidden" name="auto_renew" value="[% auto_renew | html %]" /> |
256 |
</form> |
256 |
</form> |
257 |
[% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
257 |
[% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
258 |
|
258 |
|
259 |
[% IF ( RESERVED ) %] |
259 |
[% IF ( RESERVED ) %] |
260 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
260 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
261 |
<input type="hidden" name="restoreduedatespec" /> |
261 |
<input type="hidden" name="restoreduedatespec" /> |
262 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
262 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 264-423
Link Here
|
264 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
264 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
265 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
265 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
266 |
</form> |
266 |
</form> |
267 |
[% END %] |
267 |
[% END %] |
268 |
|
|
|
269 |
[% IF ( RESERVE_WAITING ) %] |
270 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
271 |
<input type="hidden" name="restoreduedatespec" /> |
272 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
273 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
274 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
275 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
276 |
</form> |
277 |
[% END %] |
278 |
|
268 |
|
|
|
269 |
[% IF ( RESERVE_WAITING ) %] |
279 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
270 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
280 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
271 |
<input type="hidden" name="restoreduedatespec" /> |
281 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
272 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
282 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
273 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
283 |
<input type="hidden" name="restoreduedatespec" /> |
|
|
284 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
274 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
285 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
275 |
<button class="print" type="submit" onclick="Dopop('hold-transfer-slip.pl?borrowernumber=[% reserveborrowernumber | html %]&biblionumber=[% itembiblionumber | html %]&itemnumber=[% item.itemnumber | html %]&op=slip');this.form.submit();"><i class="fa fa-print"></i> Don't check out and print slip (P)</button> |
286 |
[% IF ( RENEW_ISSUE ) %] |
|
|
287 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
288 |
[% ELSE %] |
289 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't check out (N)</button> |
290 |
[% END %] |
291 |
[% ELSE %] |
292 |
<button type="submit" class="deny"><i class="fa fa-times"></i> Continue</button> |
293 |
[% END %] |
294 |
</form> |
276 |
</form> |
|
|
277 |
[% END %] |
295 |
|
278 |
|
296 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
279 |
<form method="get" action="/cgi-bin/koha/circ/circulation.pl"> |
297 |
[% UNLESS noissues %] |
280 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
298 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
281 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
|
|
282 |
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> |
283 |
<input type="hidden" name="restoreduedatespec" /> |
284 |
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> |
285 |
[% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] |
286 |
[% IF ( RENEW_ISSUE ) %] |
287 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> |
288 |
[% ELSE %] |
289 |
<button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't check out (N)</button> |
299 |
[% END %] |
290 |
[% END %] |
|
|
291 |
[% ELSE %] |
292 |
<button type="submit" class="deny"><i class="fa fa-times"></i> Continue</button> |
293 |
[% END %] |
294 |
</form> |
295 |
|
296 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
297 |
[% UNLESS noissues %] |
298 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber | html %]&borrowernumber=[% patron.borrowernumber | html %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
300 |
[% END %] |
299 |
[% END %] |
301 |
</div> <!-- /#circ_needsconfirmation --> |
300 |
[% END %] |
|
|
301 |
</div> <!-- /#circ_needsconfirmation --> |
302 |
[% END # /NEEDSCONFIRMATION %] |
302 |
[% END # /NEEDSCONFIRMATION %] |
303 |
|
303 |
|
304 |
[% IF ( IMPOSSIBLE ) %] |
304 |
[% IF ( IMPOSSIBLE ) %] |
305 |
<div id="circ_impossible" class="dialog alert audio-alert-warning"> |
305 |
<div id="circ_impossible" class="dialog alert audio-alert-warning"> |
306 |
[% IF ( UNKNOWN_BARCODE ) %] |
306 |
[% IF ( UNKNOWN_BARCODE ) %] |
307 |
<h3>Barcode not found</h3> |
307 |
<h3>Barcode not found</h3> |
308 |
[% END %] |
308 |
[% END %] |
309 |
|
309 |
|
310 |
<!-- RESULT OF ISSUING REQUEST --> |
310 |
<!-- RESULT OF ISSUING REQUEST --> |
311 |
<ul> |
311 |
<ul> |
312 |
[% IF ( STATS ) %] |
312 |
[% IF ( STATS ) %] |
313 |
<li>Local use recorded</li> |
313 |
<li>Local use recorded</li> |
314 |
[% END %] |
314 |
[% END %] |
315 |
|
315 |
|
316 |
[% IF ( INVALID_DATE ) %] |
316 |
[% IF ( INVALID_DATE ) %] |
317 |
<li>The due date "[% INVALID_DATE | html %]" is invalid</li> |
317 |
<li>The due date "[% INVALID_DATE | html %]" is invalid</li> |
318 |
[% END %] |
318 |
[% END %] |
319 |
|
319 |
|
320 |
[% IF ( UNKNOWN_BARCODE ) %] |
320 |
[% IF ( UNKNOWN_BARCODE ) %] |
321 |
<li>The barcode was not found: <span class="ex">[% barcode | html %]</span> |
321 |
<li>The barcode was not found: <span class="ex">[% barcode | html %]</span> |
322 |
<div> |
322 |
<div> |
323 |
[% IF ( FALLBACK ) %] |
323 |
[% IF ( FALLBACK ) %] |
324 |
[% IF options %] |
324 |
[% IF options %] |
325 |
<button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> Show matching titles</button> |
325 |
<button type="button" class="approve" data-toggle="modal" data-target="#itemSearchFallback"><i class="fa fa-search"></i> Show matching titles</button> |
326 |
[% ELSE %] |
326 |
[% ELSE %] |
327 |
<div>No items were found by searching.</div> |
327 |
<div>No items were found by searching.</div> |
328 |
[% END %] |
|
|
329 |
[% END %] |
328 |
[% END %] |
|
|
329 |
[% END %] |
330 |
|
330 |
|
331 |
[% IF ( fast_cataloging ) %] |
331 |
[% IF ( fast_cataloging ) %] |
332 |
[% IF ( CAN_user_editcatalogue_fast_cataloging ) %] |
332 |
[% IF ( CAN_user_editcatalogue_fast_cataloging ) %] |
333 |
<a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% patron.borrowernumber | html %]&branch=[% branch | html %]&duedatespec=[% duedatespec | html %]&stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a> |
333 |
<a class="approve" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA&barcode=[% barcode |uri %]&circborrowernumber=[% patron.borrowernumber | html %]&branch=[% branch | html %]&duedatespec=[% duedatespec | html %]&stickyduedate=[% stickyduedate | html %]"><i class="fa fa-plus"></i> Add record using fast cataloging</a> |
334 |
[% END %] |
|
|
335 |
[% END %] |
334 |
[% END %] |
336 |
</div> |
335 |
[% END %] |
337 |
</li> |
336 |
</div> |
338 |
[% END %] |
337 |
</li> |
|
|
338 |
[% END %] |
339 |
|
339 |
|
340 |
[% IF ( NOT_FOR_LOAN ) %] |
340 |
[% IF ( NOT_FOR_LOAN ) %] |
341 |
<li> |
341 |
<li> |
342 |
[% IF ( itemtype_notforloan ) %] |
342 |
[% IF ( itemtype_notforloan ) %] |
343 |
Item type not for loan. |
343 |
Item type not for loan. |
344 |
[% ELSIF ( item_notforloan ) %] |
344 |
[% ELSIF ( item_notforloan ) %] |
345 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
345 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) %] |
346 |
Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
346 |
Item not for loan[% IF (item_notforloan_lib) %] ([% item_notforloan_lib | html %])[% END %]. |
347 |
[% END %] |
347 |
[% END %] |
348 |
</li> |
348 |
</li> |
349 |
[% END %] |
349 |
[% END %] |
350 |
|
|
|
351 |
[% IF ( WTHDRAWN ) %] |
352 |
<li> |
353 |
<span>Item has been withdrawn</span> |
354 |
[% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] |
355 |
[% IF (item_withdrawn_lib) %]<span class="co-withdrawn">([% item_withdrawn_lib | html %])</span>[% END %] |
356 |
</li> |
357 |
[% END %] |
358 |
|
350 |
|
359 |
[% IF ( RESTRICTED ) %] |
351 |
[% IF ( WTHDRAWN ) %] |
360 |
<li>Item is restricted</li> |
352 |
<li> |
361 |
[% END %] |
353 |
<span>Item has been withdrawn</span> |
|
|
354 |
[% item_withdrawn_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) %] |
355 |
[% IF (item_withdrawn_lib) %]<span class="co-withdrawn">([% item_withdrawn_lib | html %])</span>[% END %] |
356 |
</li> |
357 |
[% END %] |
362 |
|
358 |
|
363 |
[% IF ( GNA ) %] |
359 |
[% IF ( RESTRICTED ) %] |
364 |
<li>Patron's address is in doubt</li> |
360 |
<li>Item is restricted</li> |
365 |
[% END %] |
361 |
[% END %] |
366 |
|
362 |
|
367 |
[% IF ( CARD_LOST ) %] |
363 |
[% IF ( GNA ) %] |
368 |
<li>Patron's card is lost</li> |
364 |
<li>Patron's address is in doubt</li> |
369 |
[% END %] |
365 |
[% END %] |
370 |
|
366 |
|
371 |
[% IF ( DEBARRED ) %] |
367 |
[% IF ( CARD_LOST ) %] |
372 |
<li>Patron is restricted</li> |
368 |
<li>Patron's card is lost</li> |
373 |
[% END %] |
369 |
[% END %] |
374 |
|
370 |
|
375 |
[% IF ( NO_MORE_RENEWALS ) %] |
371 |
[% IF ( DEBARRED ) %] |
376 |
<li>No more renewals possible</li> |
372 |
<li>Patron is restricted</li> |
377 |
[% END %] |
373 |
[% END %] |
378 |
|
374 |
|
379 |
[% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %] |
375 |
[% IF ( NO_MORE_RENEWALS ) %] |
380 |
<li>This item can not be renewed, it's an on-site checkout</li> |
376 |
<li>No more renewals possible</li> |
381 |
[% END %] |
377 |
[% END %] |
382 |
|
378 |
|
383 |
[%IF ( AGE_RESTRICTION ) %] |
379 |
[% IF NO_RENEWAL_FOR_ONSITE_CHECKOUTS %] |
384 |
<li>Age restriction [% AGE_RESTRICTION | html %].</li> |
380 |
<li>This item can not be renewed, it's an on-site checkout</li> |
385 |
[% END %] |
381 |
[% END %] |
386 |
|
382 |
|
387 |
[% IF ( EXPIRED ) %] |
383 |
[%IF ( AGE_RESTRICTION ) %] |
388 |
<li>Patron's card is expired</li> |
384 |
<li>Age restriction [% AGE_RESTRICTION | html %].</li> |
389 |
[% END %] |
385 |
[% END %] |
390 |
|
386 |
|
391 |
[% IF ( TOO_MANY ) %] |
387 |
[% IF ( EXPIRED ) %] |
392 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
388 |
<li>Patron's card is expired</li> |
393 |
[% END %] |
389 |
[% END %] |
394 |
|
390 |
|
395 |
[% IF ( ITEMNOTSAMEBRANCH ) %] |
391 |
[% IF ( TOO_MANY ) %] |
396 |
<li>This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.</li> |
392 |
<li>Too many checked out. [% current_loan_count | html %] checked out, only [% max_loans_allowed | html %] are allowed.</li> |
397 |
[% END %] |
393 |
[% END %] |
398 |
|
394 |
|
399 |
[% IF RETURN_IMPOSSIBLE %] |
395 |
[% IF ( ITEMNOTSAMEBRANCH ) %] |
400 |
<li>This item must be returned to [% Branches.GetName( branch_to_return ) | html %].</li> |
396 |
<li>This item belongs to [% Branches.GetName( itemhomebranch ) | html %] and cannot be checked out from this location.</li> |
401 |
[% END %] |
397 |
[% END %] |
402 |
|
398 |
|
403 |
[% IF ( USERBLOCKEDWITHENDDATE ) %] |
399 |
[% IF RETURN_IMPOSSIBLE %] |
404 |
<li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li> |
400 |
<li>This item must be returned to [% Branches.GetName( branch_to_return ) | html %].</li> |
405 |
[% END %] |
401 |
[% END %] |
406 |
|
402 |
|
407 |
[% IF ( USERBLOCKEDNOENDDATE ) %] |
403 |
[% IF ( USERBLOCKEDWITHENDDATE ) %] |
408 |
<li>Patron has an indefinite restriction.</li> |
404 |
<li>Patron has a restriction until [% USERBLOCKEDWITHENDDATE | $KohaDates %].</li> |
409 |
[% END %] |
405 |
[% END %] |
410 |
|
406 |
|
411 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
407 |
[% IF ( USERBLOCKEDNOENDDATE ) %] |
412 |
<li>Checkouts are BLOCKED because patron has overdue items.</li> |
408 |
<li>Patron has an indefinite restriction.</li> |
413 |
[% END %] |
409 |
[% END %] |
414 |
</ul> |
|
|
415 |
|
410 |
|
416 |
[% IF (forceallow) %] |
411 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
417 |
<li>Restriction overridden temporarily.</li> |
412 |
<li>Checkouts are BLOCKED because patron has overdue items.</li> |
418 |
[% END %] |
413 |
[% END %] |
419 |
</ul> |
414 |
</ul> |
420 |
</div> <!-- /#circ_impossible --> |
415 |
|
|
|
416 |
[% IF (forceallow) %] |
417 |
<li>Restriction overridden temporarily.</li> |
418 |
[% END %] |
419 |
</ul> |
420 |
</div> <!-- /#circ_impossible --> |
421 |
|
421 |
|
422 |
[% IF ( FALLBACK ) %] |
422 |
[% IF ( FALLBACK ) %] |
423 |
[% IF options %] |
423 |
[% IF options %] |
Lines 495-509
Link Here
|
495 |
|
495 |
|
496 |
[% IF patron %] |
496 |
[% IF patron %] |
497 |
|
497 |
|
498 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
498 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
499 |
<div class="dialog alert"> |
499 |
<div class="dialog alert"> |
500 |
<strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect. |
500 |
<strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect. |
501 |
</div> |
501 |
</div> |
502 |
[% END %] |
502 |
[% END %] |
503 |
|
503 |
|
504 |
<div class="row"> |
504 |
<div class="row"> |
505 |
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] |
505 |
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] |
506 |
<div class="col-sm-6"> |
506 |
<div class="col-sm-6"> |
507 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
507 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
508 |
<input type="hidden" name="restoreduedatespec" /> |
508 |
<input type="hidden" name="restoreduedatespec" /> |
509 |
[% IF ( issue ) %] |
509 |
[% IF ( issue ) %] |
Lines 622-628
Link Here
|
622 |
</div> |
622 |
</div> |
623 |
[% END %] |
623 |
[% END %] |
624 |
</form> <!-- /#mainform --> |
624 |
</form> <!-- /#mainform --> |
625 |
</div> <!-- /.col-sm-6 --> |
625 |
</div> <!-- /.col-sm-6 --> |
626 |
|
626 |
|
627 |
[% END #/IF !noissues %] |
627 |
[% END #/IF !noissues %] |
628 |
|
628 |
|
Lines 654-998
Link Here
|
654 |
<h3>Attention:</h3> |
654 |
<h3>Attention:</h3> |
655 |
[% END %] |
655 |
[% END %] |
656 |
|
656 |
|
657 |
<ul> |
657 |
<ul> |
658 |
[% IF ( has_modifications ) %] |
658 |
[% IF ( has_modifications ) %] |
659 |
<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications. |
659 |
<li><span class="circ-hlt">Pending modifications:</span> Patron has pending modifications. |
660 |
[% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %] |
660 |
[% IF CAN_user_borrowers_edit_borrowers && ( !Koha.Preference('IndependentBranchesPatronModifications') || borrower.branch == branch ) %] |
661 |
<a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a> |
661 |
<a href="/cgi-bin/koha/members/members-update.pl">View all pending patron modifications</a> |
662 |
[% END %] |
662 |
[% END %] |
663 |
</li> |
663 |
</li> |
664 |
[% END %] |
664 |
[% END %] |
665 |
|
|
|
666 |
[% IF ( warndeparture ) %] |
667 |
<li> |
668 |
<span class="circ-hlt">Expiration:</span> Patron's card will expire soon. |
669 |
Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
670 |
|
671 |
</li> |
672 |
[% END %] |
673 |
|
674 |
[% IF ( returnbeforeexpiry ) %] |
675 |
<li> |
676 |
<span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the expiry date is before the date due, the date due will be set to the expiry date |
677 |
</li> |
678 |
[% END %] |
679 |
|
680 |
[% IF ( expired ) %] |
681 |
<li> |
682 |
<span class="circ-hlt">Expiration:</span> Patron's card has expired. |
683 |
[% IF ( expiry ) %] |
684 |
Patron's card expired on [% expiry | $KohaDates %] |
685 |
[% END %] |
686 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
687 |
</li> |
688 |
[% END %] |
689 |
|
665 |
|
690 |
[% IF ( gna ) %] |
666 |
[% IF ( warndeparture ) %] |
691 |
<li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li> |
667 |
<li> |
692 |
[% END %] |
668 |
<span class="circ-hlt">Expiration:</span> Patron's card will expire soon. |
|
|
669 |
Patron's card expires on [% expiry | $KohaDates %] <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
693 |
|
670 |
|
694 |
[% IF ( lost ) %] |
671 |
</li> |
695 |
<li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li> |
672 |
[% END %] |
696 |
[% END %] |
|
|
697 |
|
673 |
|
698 |
[% IF ( userdebarred ) %] |
674 |
[% IF ( returnbeforeexpiry ) %] |
699 |
<li class="blocker"> |
675 |
<li> |
700 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted |
676 |
<span class="circ-hlt">Set due date to expiry:</span> You have the ReturnBeforeExpiry system preference enabled this means if the expiry date is before the date due, the date due will be set to the expiry date |
|
|
677 |
</li> |
678 |
[% END %] |
701 |
|
679 |
|
702 |
[% IF ( userdebarreddate ) %] |
680 |
[% IF ( expired ) %] |
703 |
until [% userdebarreddate | $KohaDates %] |
681 |
<li> |
704 |
[% END %] |
682 |
<span class="circ-hlt">Expiration:</span> Patron's card has expired. |
|
|
683 |
[% IF ( expiry ) %] |
684 |
Patron's card expired on [% expiry | $KohaDates %] |
685 |
[% END %] |
686 |
<a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> |
687 |
</li> |
688 |
[% END %] |
705 |
|
689 |
|
706 |
[% IF ( debarredcomment ) %] |
690 |
[% IF ( gna ) %] |
707 |
with the explanation: <br/> |
691 |
<li class="blocker"><span class="circ-hlt">Address:</span> Patron's address in doubt</li> |
708 |
<i> |
692 |
[% END %] |
709 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
|
|
710 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
711 |
[% ELSE %] |
712 |
[% debarredcomment | $raw | html_line_break %] |
713 |
[% END %] |
714 |
</i> |
715 |
[% END %] |
716 |
<br/> |
717 |
<a class="btn btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
718 |
|
693 |
|
719 |
[% IF (noissues && patron && CAN_user_circulate_force_checkout) %] |
694 |
[% IF ( lost ) %] |
720 |
<span class="override_debarment"> |
695 |
<li class="blocker"><span class="circ-hlt">Lost: </span>Patron's card is lost</li> |
721 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default">Override restriction temporarily</a> |
696 |
[% END %] |
722 |
</span> |
|
|
723 |
[% END %] |
724 |
</li> <!-- /.blocker --> |
725 |
[% END # /IF userdebarred %] |
726 |
|
697 |
|
727 |
[% IF ( odues ) %] |
698 |
[% IF ( userdebarred ) %] |
728 |
<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
699 |
<li class="blocker"> |
729 |
[% END %] |
700 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted |
730 |
|
701 |
|
731 |
[% IF ( charges ) %] |
702 |
[% IF ( userdebarreddate ) %] |
732 |
[% INCLUDE 'blocked-fines.inc' fines = chargesamount %] |
703 |
until [% userdebarreddate | $KohaDates %] |
733 |
[% END %] |
704 |
[% END %] |
734 |
|
705 |
|
735 |
[% IF ( charges_guarantees ) %] |
706 |
[% IF ( debarredcomment ) %] |
736 |
<li> |
707 |
with the explanation: <br/> |
737 |
<span class="circ-hlt">Fees & Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
708 |
<i> |
738 |
[% IF noissues %] |
709 |
[% IF debarredcomment.search('OVERDUES_PROCESS') %] |
739 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
710 |
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] |
|
|
711 |
[% ELSE %] |
712 |
[% debarredcomment | $raw | html_line_break %] |
713 |
[% END %] |
714 |
</i> |
740 |
[% END %] |
715 |
[% END %] |
741 |
</li> |
716 |
<br/> |
742 |
[% END %] |
717 |
<a class="btn btn-default" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
743 |
|
718 |
|
|
|
719 |
[% IF (noissues && patron && CAN_user_circulate_force_checkout) %] |
720 |
<span class="override_debarment"> |
721 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber | uri %]" class="btn btn-default">Override restriction temporarily</a> |
722 |
</span> |
723 |
[% END %] |
724 |
</li> <!-- /.blocker --> |
725 |
[% END # /IF userdebarred %] |
744 |
|
726 |
|
745 |
[% IF ( credits ) %] |
727 |
[% IF ( odues ) %] |
746 |
<li> |
728 |
<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
747 |
<span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %] |
729 |
[% END %] |
748 |
</li> |
|
|
749 |
[% END %] |
750 |
|
730 |
|
751 |
</ul> |
731 |
[% IF ( charges ) %] |
|
|
732 |
[% INCLUDE 'blocked-fines.inc' fines = chargesamount %] |
733 |
[% END %] |
752 |
|
734 |
|
753 |
[% IF WaitingHolds.count %] |
735 |
[% IF ( charges_guarantees ) %] |
754 |
<div id="holdswaiting" class="circmessage"> |
|
|
755 |
<h4>Holds waiting:</h4> |
756 |
[% FOREACH w IN WaitingHolds %] |
757 |
<ul> |
758 |
<li> |
736 |
<li> |
759 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
737 |
<span class="circ-hlt">Fees & Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %]. |
760 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
738 |
[% IF noissues %] |
761 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
739 |
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span> |
762 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
740 |
[% END %] |
763 |
Hold placed on [% w.reservedate | $KohaDates %]. |
741 |
</li> |
|
|
742 |
[% END %] |
764 |
|
743 |
|
765 |
<br/> |
744 |
|
766 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %] |
745 |
[% IF ( credits ) %] |
767 |
[% SET expires_on = w.expirationdate %] |
746 |
<li> |
768 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
747 |
<span class="circ-hlt">Credits:</span> Patron has a credit[% IF ( creditsamount ) %] of [% creditsamount | $Price %][% END %] |
769 |
</strong> |
|
|
770 |
</li> |
748 |
</li> |
771 |
</ul> |
749 |
[% END %] |
772 |
[% END %] |
|
|
773 |
</div> |
774 |
[% END # /IF WaitingHolds.count %] |
775 |
|
750 |
|
776 |
[% IF ( notes ) %] |
751 |
</ul> |
777 |
<div id="circnotes" class="circmessage"> |
|
|
778 |
<h4>Notes:</h4> |
779 |
<p><span class="circ-hlt">[% notesmsg | $raw %]</span></p> |
780 |
</div> |
781 |
[% END %] |
782 |
|
752 |
|
783 |
<div id="messages" class="circmessage"> |
753 |
[% IF WaitingHolds.count %] |
784 |
<h4>Messages:</h4> |
754 |
<div id="holdswaiting" class="circmessage"> |
785 |
<ul> |
755 |
<h4>Holds waiting:</h4> |
786 |
[% FOREACH message IN messages %] |
756 |
[% FOREACH w IN WaitingHolds %] |
787 |
<li> |
757 |
<ul> |
788 |
[% IF(message.message_type == "L") %] |
758 |
<li> |
789 |
<span class="circ-hlt"> |
759 |
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% w.biblio.biblionumber | uri %]">[% w.biblio.title | html %]</a> |
790 |
[% ELSE %] |
760 |
([% ItemTypes.GetDescription( w.item.effective_itemtype ) | html %]), |
791 |
<span> |
761 |
[% IF ( w.biblio.author ) %] by [% w.biblio.author | html %] [% END %] |
792 |
[% END %] |
762 |
[% IF ( w.item.itemcallnumber ) %] [[% w.item.itemcallnumber | html %]] [% END %] |
793 |
[% message.message_date | $KohaDates %] |
763 |
Hold placed on [% w.reservedate | $KohaDates %]. |
794 |
[% Branches.GetName( message.branchcode ) | html %] |
764 |
|
795 |
[% IF message.manager_id %] |
765 |
<br/> |
796 |
( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id | uri %]">[% message.get_column('manager_firstname') | html %] [% message.get_column('manager_surname') | html %]</a> ) |
766 |
[% IF ( w.branch.branchcode == Branches.GetLoggedInBranchcode() ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %] |
797 |
[% END %] |
767 |
[% SET expires_on = w.expirationdate %] |
798 |
<i>"[% message.message | html %]"</i> |
768 |
Waiting at [% w.branch.branchname | html %] [% IF expires_on %] until [% expires_on | $KohaDates %] [% END %] |
799 |
</span> |
769 |
</strong> |
800 |
[% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] |
770 |
</li> |
801 |
<a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&borrowernumber=[% message.borrowernumber | html %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a> |
771 |
</ul> |
802 |
[% END %] |
772 |
[% END %] |
803 |
</li> |
773 |
</div> |
|
|
774 |
[% END # /IF WaitingHolds.count %] |
775 |
|
776 |
[% IF ( notes ) %] |
777 |
<div id="circnotes" class="circmessage"> |
778 |
<h4>Notes:</h4> |
779 |
<p><span class="circ-hlt">[% notesmsg | $raw %]</span></p> |
780 |
</div> |
804 |
[% END %] |
781 |
[% END %] |
805 |
</ul> |
|
|
806 |
<a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
807 |
</div> <!-- /.messages --> |
808 |
</div> <!-- /#circmessages --> |
809 |
</div> <!-- /div or div.col-sm-6 --> |
810 |
</div> <!-- /.row --> |
811 |
|
782 |
|
812 |
<div id="patronlists" class="toptabs"> |
783 |
<div id="messages" class="circmessage"> |
813 |
<ul> |
784 |
<h4>Messages:</h4> |
814 |
<li> |
785 |
<ul> |
815 |
[% IF ( issuecount ) %] |
786 |
[% FOREACH message IN messages %] |
816 |
<a href="#checkouts">[% issuecount | html %] Checkout(s)</a> |
787 |
<li> |
817 |
[% ELSE %] |
788 |
[% IF(message.message_type == "L") %] |
818 |
<a href="#checkouts">0 Checkouts</a> |
789 |
<span class="circ-hlt"> |
819 |
[% END %] |
790 |
[% ELSE %] |
820 |
</li> |
791 |
<span> |
|
|
792 |
[% END %] |
793 |
[% message.message_date | $KohaDates %] |
794 |
[% Branches.GetName( message.branchcode ) | html %] |
795 |
[% IF message.manager_id %] |
796 |
( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% message.manager_id | uri %]">[% message.get_column('manager_firstname') | html %] [% message.get_column('manager_surname') | html %]</a> ) |
797 |
[% END %] |
798 |
<i>"[% message.message | html %]"</i> |
799 |
</span> |
800 |
[% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] |
801 |
<a class="btn btn-link" href="/cgi-bin/koha/circ/del_message.pl?message_id=[% message.message_id | html %]&borrowernumber=[% message.borrowernumber | html %]" onclick="return confirm(MSG_CONFIRM_DELETE_MESSAGE);"><i class="fa fa-trash"></i> Delete</a> |
802 |
[% END %] |
803 |
</li> |
804 |
[% END %] |
805 |
</ul> |
806 |
<a id="addnewmessageLabel" href="#add_message_form" class="btn btn-link" data-toggle="modal"><i class="fa fa-plus"></i> Add a new message</a> |
807 |
</div> <!-- /.messages --> |
808 |
</div> <!-- /#circmessages --> |
809 |
</div> <!-- /div or div.col-sm-6 --> |
810 |
</div> <!-- /.row --> |
821 |
|
811 |
|
822 |
[% IF relatives_issues_count %] |
812 |
<div id="patronlists" class="toptabs"> |
823 |
<li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li> |
813 |
<ul> |
824 |
[% END %] |
814 |
<li> |
|
|
815 |
[% IF ( issuecount ) %] |
816 |
<a href="#checkouts">[% issuecount | html %] Checkout(s)</a> |
817 |
[% ELSE %] |
818 |
<a href="#checkouts">0 Checkouts</a> |
819 |
[% END %] |
820 |
</li> |
825 |
|
821 |
|
826 |
<li> |
822 |
[% IF relatives_issues_count %] |
827 |
[% IF ( holds_count ) %] |
823 |
<li><a id="relatives-issues-tab" href="#relatives-issues">Relatives' checkouts</a></li> |
828 |
<a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a> |
|
|
829 |
[% ELSE %] |
830 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
831 |
[% END %] |
824 |
[% END %] |
832 |
</li> |
|
|
833 |
|
825 |
|
834 |
[% IF Koha.Preference('ArticleRequests') %] |
|
|
835 |
<li> |
826 |
<li> |
836 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a> |
827 |
[% IF ( holds_count ) %] |
|
|
828 |
<a href="#reserves" id="holds-tab">[% holds_count | html %] Hold(s)</a> |
829 |
[% ELSE %] |
830 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
831 |
[% END %] |
837 |
</li> |
832 |
</li> |
838 |
[% END %] |
|
|
839 |
|
833 |
|
840 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li> |
834 |
[% IF Koha.Preference('ArticleRequests') %] |
|
|
835 |
<li> |
836 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count | html %] Article requests</a> |
837 |
</li> |
838 |
[% END %] |
841 |
|
839 |
|
842 |
[% SET enrollments = patron.get_club_enrollments(1) %] |
840 |
<li><a id="debarments-tab-link" href="#reldebarments">[% debarments.count | html %] Restrictions</a></li> |
843 |
[% SET enrollable = patron.get_enrollable_clubs(0,1) %] |
|
|
844 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
845 |
<li> |
846 |
<a id="clubs-tab-link" href="#clubs-tab"> |
847 |
Clubs ([% enrollments.count | html %]/[% enrollable.count | html %]) |
848 |
</a> |
849 |
</li> |
850 |
[% END %] |
851 |
</ul> |
852 |
|
841 |
|
853 |
<!-- SUMMARY : TODAY & PREVIOUS ISSUES --> |
842 |
[% SET enrollments = patron.get_club_enrollments(1) %] |
854 |
|
843 |
[% SET enrollable = patron.get_enrollable_clubs(0,1) %] |
855 |
[% INCLUDE "checkouts-table.inc" %] |
844 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
856 |
|
845 |
<li> |
857 |
[% IF ( relatives_issues_count ) %] |
846 |
<a id="clubs-tab-link" href="#clubs-tab"> |
858 |
<div id="relatives-issues"> |
847 |
Clubs ([% enrollments.count | html %]/[% enrollable.count | html %]) |
859 |
<table id="relatives-issues-table"> |
848 |
</a> |
860 |
<thead> |
849 |
</li> |
861 |
<tr> |
850 |
[% END %] |
862 |
<th scope="col">Due date (unformatted, hidden)</th> |
851 |
</ul> |
863 |
<th scope="col">Due date</th> |
|
|
864 |
<th scope="col">Title</th> |
865 |
<th scope="col">Item type</th> |
866 |
<th scope="col">Collection code</th> |
867 |
<th scope="col">Location</th> |
868 |
<th scope="col">Checked out on</th> |
869 |
<th scope="col">Checked out from</th> |
870 |
<th scope="col">Call no</th> |
871 |
<th scope="col">Charge</th> |
872 |
<th scope="col">Fine</th> |
873 |
<th scope="col">Price</th> |
874 |
<th scope="col">Patron</th> |
875 |
</tr> |
876 |
</thead> |
877 |
</table> |
878 |
</div> <!-- /#relatives-issues --> |
879 |
[% END %] |
880 |
|
852 |
|
881 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
853 |
<!-- SUMMARY : TODAY & PREVIOUS ISSUES --> |
882 |
<div id="clubs-tab"> |
|
|
883 |
Loading... |
884 |
</div> <!-- /#clubs-tab --> |
885 |
[% END %] |
886 |
|
854 |
|
887 |
[% INCLUDE borrower_debarments.inc %] |
855 |
[% INCLUDE "checkouts-table.inc" %] |
888 |
|
856 |
|
889 |
<div id="reserves"> |
857 |
[% IF ( relatives_issues_count ) %] |
890 |
[% IF ( holds_count ) %] |
858 |
<div id="relatives-issues"> |
891 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
859 |
<table id="relatives-issues-table"> |
892 |
<input type="hidden" name="from" value="circ" /> |
|
|
893 |
<table id="holds-table" style="width: 100% !Important;"> |
894 |
<thead> |
860 |
<thead> |
895 |
<tr> |
861 |
<tr> |
896 |
<th>Hold date</th> |
862 |
<th scope="col">Due date (unformatted, hidden)</th> |
897 |
<th>Title</th> |
863 |
<th scope="col">Due date</th> |
898 |
<th>Call number</th> |
864 |
<th scope="col">Title</th> |
899 |
<th>Barcode</th> |
865 |
<th scope="col">Item type</th> |
900 |
<th>Pickup at</th> |
866 |
<th scope="col">Collection code</th> |
901 |
<th>Expiration</th> |
867 |
<th scope="col">Location</th> |
902 |
<th>Priority</th> |
868 |
<th scope="col">Checked out on</th> |
903 |
<th>Cancel?</th> |
869 |
<th scope="col">Checked out from</th> |
904 |
<th>Suspend?</th> |
870 |
<th scope="col">Call no</th> |
905 |
<th>Status</th> |
871 |
<th scope="col">Charge</th> |
|
|
872 |
<th scope="col">Fine</th> |
873 |
<th scope="col">Price</th> |
874 |
<th scope="col">Patron</th> |
906 |
</tr> |
875 |
</tr> |
907 |
</thead> |
876 |
</thead> |
908 |
</table> |
877 |
</table> |
|
|
878 |
</div> <!-- /#relatives-issues --> |
879 |
[% END %] |
909 |
|
880 |
|
910 |
<fieldset class="action"> |
881 |
[% IF CAN_user_clubs && ( enrollable.count || enrollments.count ) %] |
911 |
<input type="submit" class="cancel" name="submit" value="Cancel marked holds" /> |
882 |
<div id="clubs-tab"> |
912 |
</fieldset> |
883 |
Loading... |
913 |
</form> |
884 |
</div> <!-- /#clubs-tab --> |
914 |
|
885 |
[% END %] |
915 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
886 |
|
916 |
<fieldset class="action"> |
887 |
[% INCLUDE borrower_debarments.inc %] |
917 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
888 |
|
918 |
<input type="hidden" name="from" value="circ" /> |
889 |
<div id="reserves"> |
919 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
890 |
[% IF ( holds_count ) %] |
920 |
<input type="submit" value="Suspend all holds" /> |
891 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
921 |
|
892 |
<input type="hidden" name="from" value="circ" /> |
922 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
893 |
<table id="holds-table" style="width: 100% !Important;"> |
923 |
<label for="suspend_until">until</label> |
894 |
<thead> |
924 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
895 |
<tr> |
925 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
896 |
<th>Hold date</th> |
926 |
[% END %] |
897 |
<th>Title</th> |
927 |
</form> |
898 |
<th>Call number</th> |
928 |
</fieldset> |
899 |
<th>Barcode</th> |
929 |
|
900 |
<th>Pickup at</th> |
930 |
<fieldset class="action"> |
901 |
<th>Expiration</th> |
931 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
902 |
<th>Priority</th> |
932 |
<input type="hidden" name="from" value="circ" /> |
903 |
<th>Cancel?</th> |
933 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
904 |
<th>Suspend?</th> |
934 |
<input type="hidden" name="suspend" value="0" /> |
905 |
<th>Status</th> |
935 |
<input type="submit" value="Resume all suspended holds" /> |
906 |
</tr> |
936 |
</form> |
907 |
</thead> |
937 |
</fieldset> |
908 |
</table> |
938 |
[% END # /IF SuspendHoldsIntranet %] |
909 |
|
939 |
|
910 |
<fieldset class="action"> |
940 |
[% ELSE # IF holds_count %] |
911 |
<input type="submit" class="cancel" name="submit" value="Cancel marked holds" /> |
941 |
<p>Patron has nothing on hold.</p> |
912 |
</fieldset> |
942 |
[% END # /IF holds_count %] |
913 |
</form> |
943 |
</div> <!-- /#reserves --> |
914 |
|
944 |
|
915 |
[% IF Koha.Preference('SuspendHoldsIntranet') %] |
945 |
[% IF Koha.Preference('ArticleRequests') %] |
916 |
<fieldset class="action"> |
946 |
[% INCLUDE 'patron-article-requests.inc' %] |
917 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
947 |
[% END %] |
918 |
<input type="hidden" name="from" value="circ" /> |
|
|
919 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
920 |
<input type="submit" value="Suspend all holds" /> |
921 |
|
922 |
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] |
923 |
<label for="suspend_until">until</label> |
924 |
<input type="text" size="10" id="suspend_until" name="suspend_until" class="datepicker"/> |
925 |
<span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span> |
926 |
[% END %] |
927 |
</form> |
928 |
</fieldset> |
929 |
|
930 |
<fieldset class="action"> |
931 |
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post"> |
932 |
<input type="hidden" name="from" value="circ" /> |
933 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
934 |
<input type="hidden" name="suspend" value="0" /> |
935 |
<input type="submit" value="Resume all suspended holds" /> |
936 |
</form> |
937 |
</fieldset> |
938 |
[% END # /IF SuspendHoldsIntranet %] |
939 |
|
940 |
[% ELSE # IF holds_count %] |
941 |
<p>Patron has nothing on hold.</p> |
942 |
[% END # /IF holds_count %] |
943 |
</div> <!-- /#reserves --> |
948 |
|
944 |
|
949 |
</div> <!-- /#patronlists --> |
945 |
[% IF Koha.Preference('ArticleRequests') %] |
950 |
[% ELSIF borrowernumber # IF patron %] |
946 |
[% INCLUDE 'patron-article-requests.inc' %] |
951 |
<div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> |
947 |
[% END %] |
952 |
[% END # /IF patron %] |
|
|
953 |
|
948 |
|
954 |
[% END #/IF borrowers %] |
949 |
</div> <!-- /#patronlists --> |
|
|
950 |
[% ELSIF borrowernumber # IF patron %] |
951 |
<div class="dialog message">Patron not found. <a href="/cgi-bin/koha/members/members-home.pl">Return to search</a></div> |
952 |
[% END # /IF patron %] |
955 |
|
953 |
|
956 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
954 |
[% END #/IF borrowers %] |
957 |
|
955 |
|
958 |
[% IF Koha.Preference('CircSidebar') %] |
956 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
959 |
[% UNLESS ( borrowers ) %] |
957 |
|
960 |
[% IF not( borrowernumber and patron ) %] |
958 |
[% IF Koha.Preference('CircSidebar') %] |
961 |
<div class="col-sm-2 col-sm-pull-10"> |
959 |
[% UNLESS ( borrowers ) %] |
962 |
<aside> |
960 |
[% IF not( borrowernumber and patron ) %] |
963 |
[% INCLUDE 'circ-nav.inc' %] |
961 |
<div class="col-sm-2 col-sm-pull-10"> |
964 |
</aside> |
962 |
<aside> |
965 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
963 |
[% INCLUDE 'circ-nav.inc' %] |
|
|
964 |
</aside> |
965 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
966 |
[% END %] |
967 |
[% END %] |
966 |
[% END %] |
968 |
[% END %] |
967 |
[% END %] |
|
|
968 |
[% END %] |
969 |
|
969 |
|
970 |
[% UNLESS ( borrowers ) %] |
970 |
[% UNLESS ( borrowers ) %] |
971 |
[% IF borrowernumber and patron %] |
971 |
[% IF borrowernumber and patron %] |
972 |
<div class="col-sm-2 col-sm-pull-10"> |
972 |
<div class="col-sm-2 col-sm-pull-10"> |
973 |
<aside> |
973 |
<aside> |
974 |
[% INCLUDE 'circ-menu.inc' %] |
974 |
[% INCLUDE 'circ-menu.inc' %] |
975 |
</aside> |
975 |
</aside> |
976 |
</div> <!-- /.col-sm-2 col-sm-pull-10 --> |
976 |
</div> <!-- /.col-sm-2 col-sm-pull-10 --> |
977 |
[% END %] |
977 |
[% END %] |
978 |
[% END %] |
978 |
[% END %] |
979 |
|
979 |
|
980 |
</div> <!-- /.row --> |
980 |
</div> <!-- /.row --> |
981 |
</main> |
981 |
</main> |
982 |
|
982 |
|
983 |
<!-- Modal --> |
983 |
<!-- Modal --> |
984 |
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true"> |
984 |
<div id="barcodeSubmittedModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="barcodeSubmittedModalLabel" aria-hidden="true"> |
985 |
<div class="modal-dialog"> |
985 |
<div class="modal-dialog"> |
986 |
<div class="modal-content"> |
986 |
<div class="modal-content"> |
987 |
<div class="modal-header"> |
987 |
<div class="modal-header"> |
988 |
<h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3> |
988 |
<h3 id="barcodeSubmittedModalLabel">Barcode submitted</h3> |
989 |
</div> |
989 |
</div> |
990 |
<div class="modal-body"> |
990 |
<div class="modal-body"> |
991 |
<p>You have already submitted a barcode, please wait for the checkout to process...</p> |
991 |
<p>You have already submitted a barcode, please wait for the checkout to process...</p> |
992 |
</div> |
992 |
</div> |
993 |
</div> <!-- /.modal-content --> |
993 |
</div> <!-- /.modal-content --> |
994 |
</div> <!-- /.modal-dialog --> |
994 |
</div> <!-- /.modal-dialog --> |
995 |
</div> <!-- /#barcodeSubmittedModal --> |
995 |
</div> <!-- /#barcodeSubmittedModal --> |
996 |
|
996 |
|
997 |
[% MACRO jsinclude BLOCK %] |
997 |
[% MACRO jsinclude BLOCK %] |
998 |
[% INCLUDE 'strings.inc' %] |
998 |
[% INCLUDE 'strings.inc' %] |
999 |
- |
|
|