|
Lines 106-111
Link Here
|
| 106 |
<input type="hidden" name="op" value="returnbook" /> |
106 |
<input type="hidden" name="op" value="returnbook" /> |
| 107 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
107 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 108 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
108 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
109 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 109 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
110 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 110 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
111 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
| 111 |
</form> |
112 |
</form> |
|
Lines 116-121
Link Here
|
| 116 |
<input type="hidden" name="op" value="" /> |
117 |
<input type="hidden" name="op" value="" /> |
| 117 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
118 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 118 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
119 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
120 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 119 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
121 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 120 |
<input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" /> |
122 |
<input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" /> |
| 121 |
</form> |
123 |
</form> |
|
Lines 135-140
Link Here
|
| 135 |
<input type="hidden" name="op" value="returnbook" /> |
137 |
<input type="hidden" name="op" value="returnbook" /> |
| 136 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
138 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 137 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
139 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
140 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 138 |
<input type="hidden" name="confirmed" value="" /> |
141 |
<input type="hidden" name="confirmed" value="" /> |
| 139 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
142 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 140 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
143 |
<button type="submit" name="returnbook" class="btn btn-primary"><i class="fa fa-undo" aria-hidden="true"></i> Return this item</button> |
|
Lines 147-152
Link Here
|
| 147 |
<input type="hidden" name="op" value="renew" /> |
150 |
<input type="hidden" name="op" value="renew" /> |
| 148 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
151 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 149 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
152 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
153 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 150 |
<input type="hidden" name="confirmed" value="1" /> |
154 |
<input type="hidden" name="confirmed" value="1" /> |
| 151 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
155 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 152 |
<button type="submit" name="confirm" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
156 |
<button type="submit" name="confirm" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
|
Lines 157-162
Link Here
|
| 157 |
<input type="hidden" name="op" value="renew" /> |
161 |
<input type="hidden" name="op" value="renew" /> |
| 158 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
162 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 159 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
163 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
|
|
164 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 160 |
<input type="hidden" name="confirmed" value="1" /> |
165 |
<input type="hidden" name="confirmed" value="1" /> |
| 161 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
166 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 162 |
<button type="submit" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
167 |
<button type="submit" class="btn btn-primary"><i class="fa-solid fa-rotate" aria-hidden="true"></i> Renew item</button> |
|
Lines 167-172
Link Here
|
| 167 |
<legend class="sr-only">Cancel</legend> |
172 |
<legend class="sr-only">Cancel</legend> |
| 168 |
<input type="hidden" name="op" value="" /> |
173 |
<input type="hidden" name="op" value="" /> |
| 169 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
174 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
175 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 170 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
176 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 171 |
<button type="submit" class="btn btn-primary"><i class="fa fa-cancel" aria-hidden="true"></i> Cancel</button> |
177 |
<button type="submit" class="btn btn-primary"><i class="fa fa-cancel" aria-hidden="true"></i> Cancel</button> |
| 172 |
</form> |
178 |
</form> |
|
Lines 271-276
Link Here
|
| 271 |
<button type="button" id="logout_form" class="btn btn-info"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> |
277 |
<button type="button" id="logout_form" class="btn btn-info"><i class="fa fa-check" aria-hidden="true"></i> Finish</button> |
| 272 |
<input type="hidden" name="op" value="checkout" /> |
278 |
<input type="hidden" name="op" value="checkout" /> |
| 273 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
279 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
280 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 274 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
281 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 275 |
</div> |
282 |
</div> |
| 276 |
</div> <!-- /.row --> |
283 |
</div> <!-- /.row --> |
|
Lines 307-313
Link Here
|
| 307 |
<div class="tab-content"> |
314 |
<div class="tab-content"> |
| 308 |
<div id="checkouts-tab" class="tab-pane show active" aria-labelledby="checkouts"> |
315 |
<div id="checkouts-tab" class="tab-pane show active" aria-labelledby="checkouts"> |
| 309 |
<div id="borrowerdetails"> |
316 |
<div id="borrowerdetails"> |
|
|
317 |
[% IF ( new_issue ) %] |
| 318 |
<div class="lastchecked"> |
| 319 |
<p> |
| 320 |
<strong>Checked out: </strong> |
| 321 |
[% new_issue.item.biblio.title | html %] ([% new_issue.item.barcode | html %]). |
| 322 |
|
| 323 |
[% IF new_issue.item.is_bundle %] |
| 324 |
[% SET bundle_items_count = new_issue.item.bundle_items.count %] |
| 325 |
[% tnx('Bundle of {count} item', 'Bundle of {count} items', bundle_items_count, { count = bundle_items_count }) | html %]. |
| 326 |
[% END %] |
| 327 |
|
| 328 |
Due on [% new_issue.date_due | $KohaDates as_due_date => 1 %] |
| 329 |
</p> |
| 330 |
</div> |
| 331 |
[% END %] |
| 310 |
[% IF ( issues_count ) %] |
332 |
[% IF ( issues_count ) %] |
|
|
333 |
[% IF ( Koha.Preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] |
| 311 |
<table id="loanTable" class="table table-bordered table-striped"> |
334 |
<table id="loanTable" class="table table-bordered table-striped"> |
| 312 |
<caption>Checkouts for [% borrowername | html %] <span class="count">([% issues_count | html %] total)</span></caption> |
335 |
<caption>Checkouts for [% borrowername | html %] <span class="count">([% issues_count | html %] total)</span></caption> |
| 313 |
<!-- ISSUES TABLE ROWS --> |
336 |
<!-- ISSUES TABLE ROWS --> |
|
Lines 354-359
Link Here
|
| 354 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
377 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
| 355 |
<legend class="sr-only">Issue renews</legend> |
378 |
<legend class="sr-only">Issue renews</legend> |
| 356 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
379 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
|
|
380 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
| 357 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" /> |
381 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" /> |
| 358 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
382 |
<input type="hidden" name="newissues" value="[% newissues | html %]" /> |
| 359 |
[% IF ISSUE.can_be_renewed %] |
383 |
[% IF ISSUE.can_be_renewed %] |
|
Lines 397-402
Link Here
|
| 397 |
[% END # / FOREACH ISSUE %] |
421 |
[% END # / FOREACH ISSUE %] |
| 398 |
</tbody> |
422 |
</tbody> |
| 399 |
</table> |
423 |
</table> |
|
|
424 |
[% ELSE %] |
| 425 |
<a href="?load_checkouts=1">Load your checkouts</a> |
| 426 |
[% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] |
| 400 |
[% ELSE %] |
427 |
[% ELSE %] |
| 401 |
<h3>You currently have nothing checked out.</h3> |
428 |
<h3>You currently have nothing checked out.</h3> |
| 402 |
[% END # / IF issues_count %] |
429 |
[% END # / IF issues_count %] |