Lines 98-103
Link Here
|
98 |
<input type="hidden" name="op" value="returnbook" /> |
98 |
<input type="hidden" name="op" value="returnbook" /> |
99 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
99 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
100 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
100 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
101 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
101 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
102 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
102 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
103 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
103 |
</form> |
104 |
</form> |
Lines 108-113
Link Here
|
108 |
<input type="hidden" name="op" value="" /> |
109 |
<input type="hidden" name="op" value="" /> |
109 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
110 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
110 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
111 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
112 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
111 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
113 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
112 |
<input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" /> |
114 |
<input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" /> |
113 |
</form> |
115 |
</form> |
Lines 127-132
Link Here
|
127 |
<input type="hidden" name="op" value="returnbook" /> |
129 |
<input type="hidden" name="op" value="returnbook" /> |
128 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
130 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
129 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
131 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
132 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
130 |
<input type="hidden" name="confirmed" value="" /> |
133 |
<input type="hidden" name="confirmed" value="" /> |
131 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
134 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
132 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
135 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
Lines 139-144
Link Here
|
139 |
<input type="hidden" name="op" value="renew" /> |
142 |
<input type="hidden" name="op" value="renew" /> |
140 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
143 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
141 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
144 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
145 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
142 |
<input type="hidden" name="confirmed" value="1" /> |
146 |
<input type="hidden" name="confirmed" value="1" /> |
143 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
147 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
144 |
<button type="submit" name="confirm" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
148 |
<button type="submit" name="confirm" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
Lines 149-154
Link Here
|
149 |
<input type="hidden" name="op" value="renew" /> |
153 |
<input type="hidden" name="op" value="renew" /> |
150 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
154 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
151 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
155 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
156 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
152 |
<input type="hidden" name="confirmed" value="1" /> |
157 |
<input type="hidden" name="confirmed" value="1" /> |
153 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
158 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
154 |
<button type="submit" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
159 |
<button type="submit" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
Lines 159-164
Link Here
|
159 |
<legend class="sr-only">Cancel</legend> |
164 |
<legend class="sr-only">Cancel</legend> |
160 |
<input type="hidden" name="op" value="" /> |
165 |
<input type="hidden" name="op" value="" /> |
161 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
166 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
167 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
162 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
168 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
163 |
<button type="submit" class="btn btn-primary"><i class="fa fa-cancel" aria-hidden="true"></i> Cancel</button> |
169 |
<button type="submit" class="btn btn-primary"><i class="fa fa-cancel" aria-hidden="true"></i> Cancel</button> |
164 |
</form> |
170 |
</form> |
Lines 263-268
Link Here
|
263 |
<button type="button" id="logout_form" class="btn btn-info"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> |
269 |
<button type="button" id="logout_form" class="btn btn-info"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> |
264 |
<input type="hidden" name="op" value="checkout" /> |
270 |
<input type="hidden" name="op" value="checkout" /> |
265 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
271 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
272 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
266 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
273 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
267 |
</div> |
274 |
</div> |
268 |
</div> <!-- /.row --> |
275 |
</div> <!-- /.row --> |
Lines 299-305
Link Here
|
299 |
<div class="tab-content"> |
306 |
<div class="tab-content"> |
300 |
<div id="checkouts-tab" class="tab-pane show active" aria-labelledby="checkouts"> |
307 |
<div id="checkouts-tab" class="tab-pane show active" aria-labelledby="checkouts"> |
301 |
<div id="borrowerdetails"> |
308 |
<div id="borrowerdetails"> |
|
|
309 |
[% IF ( new_issue ) %] |
310 |
<div class="lastchecked"> |
311 |
<p> |
312 |
<strong>Checked out: </strong> |
313 |
[% new_issue.item.biblio.title | html %] ([% new_issue.item.barcode | html %]). |
314 |
|
315 |
[% IF new_issue.item.is_bundle %] |
316 |
[% SET bundle_items_count = new_issue.item.bundle_items.count %] |
317 |
[% tnx('Bundle of {count} item', 'Bundle of {count} items', bundle_items_count, { count = bundle_items_count }) | html %]. |
318 |
[% END %] |
319 |
|
320 |
Due on [% new_issue.date_due | $KohaDates as_due_date => 1 %] |
321 |
</p> |
322 |
</div> |
323 |
[% END %] |
302 |
[% IF ( issues_count ) %] |
324 |
[% IF ( issues_count ) %] |
|
|
325 |
[% IF ( Koha.Preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] |
303 |
<table id="loanTable" class="table table-bordered table-striped"> |
326 |
<table id="loanTable" class="table table-bordered table-striped"> |
304 |
<caption>Checkouts for [% borrowername | html %] <span class="count">([% issues_count | html %] total)</span></caption> |
327 |
<caption>Checkouts for [% borrowername | html %] <span class="count">([% issues_count | html %] total)</span></caption> |
305 |
<!-- ISSUES TABLE ROWS --> |
328 |
<!-- ISSUES TABLE ROWS --> |
Lines 345-350
Link Here
|
345 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
368 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
346 |
<legend class="sr-only">Issue renews</legend> |
369 |
<legend class="sr-only">Issue renews</legend> |
347 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
370 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
371 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
348 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" /> |
372 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" /> |
349 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
373 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
350 |
[% IF ISSUE.can_be_renewed %] |
374 |
[% IF ISSUE.can_be_renewed %] |
Lines 384-389
Link Here
|
384 |
[% END # / FOREACH ISSUE %] |
408 |
[% END # / FOREACH ISSUE %] |
385 |
</tbody> |
409 |
</tbody> |
386 |
</table> |
410 |
</table> |
|
|
411 |
[% ELSE %] |
412 |
<a href="?load_checkouts=1">Load your checkouts</a> |
413 |
[% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] |
387 |
[% ELSE %] |
414 |
[% ELSE %] |
388 |
<h3>You currently have nothing checked out.</h3> |
415 |
<h3>You currently have nothing checked out.</h3> |
389 |
[% END # / IF issues_count %] |
416 |
[% END # / IF issues_count %] |