|
Lines 181-197
$(document).ready(function () {
Link Here
|
| 181 |
</div> |
181 |
</div> |
| 182 |
[% END %] |
182 |
[% END %] |
| 183 |
|
183 |
|
| 184 |
[% IF ( collectionItemNeedsTransferred ) %] |
184 |
[% IF collectionItemNeedsTransferred %] |
| 185 |
<div id="rotating-collection" class="dialog message"> |
185 |
<div id="rotating-collection" class="dialog message"> |
| 186 |
<h3>Transferring item to: [% Branches.GetName( collectionBranch ) %]</h3> |
186 |
<h3>Transferring item to: [% Branches.GetName( collectionBranch ) %]</h3> |
| 187 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
187 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
| 188 |
<p>This item is part of a rotating collection.</p> |
188 |
<p>This item is part of a rotating collection.</p> |
| 189 |
<p><button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
189 |
<p><button type="button" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% collectionBranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button></p> |
| 190 |
</div> |
190 |
</div> |
| 191 |
[% END %] |
191 |
[% END %] |
| 192 |
|
192 |
|
| 193 |
<!-- Patron has fines --> |
193 |
<!-- Patron has fines --> |
| 194 |
[% IF ( fines ) %] |
194 |
[% IF fines %] |
| 195 |
<div class="dialog alert"> |
195 |
<div class="dialog alert"> |
| 196 |
<h3>Patron has outstanding fines of [% fines %].</h3> |
196 |
<h3>Patron has outstanding fines of [% fines %].</h3> |
| 197 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p> |
197 |
<p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% fineborrowernumber %]">Make payment</a>.</p> |
|
Lines 199-205
$(document).ready(function () {
Link Here
|
| 199 |
[% END %] |
199 |
[% END %] |
| 200 |
|
200 |
|
| 201 |
<!-- Patron has waiting holds --> |
201 |
<!-- Patron has waiting holds --> |
| 202 |
[% IF ( waiting_holds ) %] |
202 |
[% IF waiting_holds %] |
| 203 |
<div id="awaiting-pickup" class="dialog message"> |
203 |
<div id="awaiting-pickup" class="dialog message"> |
| 204 |
<h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> |
204 |
<h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> |
| 205 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> |
205 |
<p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> |
|
Lines 218-264
$(document).ready(function () {
Link Here
|
| 218 |
</div> |
218 |
</div> |
| 219 |
[% END %] |
219 |
[% END %] |
| 220 |
|
220 |
|
| 221 |
[% IF ( wrongbranch ) %] |
221 |
[% IF wrongbranch %] |
| 222 |
<div class="dialog alert"><h3>Cannot check in</h3> |
222 |
<div class="dialog alert"><h3>Cannot check in</h3> |
| 223 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
223 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
| 224 |
</p><strong>NOT CHECKED IN</strong></p> |
224 |
</p><strong>NOT CHECKED IN</strong></p> |
| 225 |
<p>This item must be checked in at following library: <strong>[% Branches.GetName( rightbranch ) %]</strong></p> |
225 |
<p>This item must be checked in at following library: <strong>[% Branches.GetName( rightbranch ) %]</strong></p> |
| 226 |
</div> |
226 |
</div> |
| 227 |
[% END %] |
227 |
[% END %] |
| 228 |
<!-- case of a mistake in transfer loop --> |
|
|
| 229 |
[% IF ( WrongTransfer ) %] |
| 230 |
<div id="return2" class="dialog message"> |
| 231 |
<!-- WrongTransfer --> |
| 232 |
<h3>Transferring item to: [% Branches.GetName( TransferWaitingAt ) %]</h3> |
| 233 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
| 234 |
<button type="submit" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% TransferWaitingAt %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
| 235 |
<button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
| 236 |
[% IF ( wborcnum ) %]<h5>Hold for:</h5> |
| 237 |
<ul> |
| 238 |
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borsurname %], [% borfirstname %]</a> ([% borcnum %]) <span class="patron-category"> - [% wborcategory %]</span> </li> |
| 239 |
[% INCLUDE display_holdpatron_address %] |
| 240 |
[% IF ( wborphone ) %] |
| 241 |
<li>[% wborphone %]</li> |
| 242 |
[% END %] |
| 243 |
[% IF ( wboremail ) %] |
| 244 |
<li><a id="boremail" href="mailto:[% wboremail %]">[% wboremail %]</a></li> |
| 245 |
[% END %] |
| 246 |
</ul> |
| 247 |
|
228 |
|
| 248 |
<form method="post" action="returns.pl" class="confirm"> |
229 |
<!-- case of mistake in transfer loop --> |
| 249 |
<input type="hidden" name="WT-itemNumber" value="[% WrongTransferItem %]" /> |
230 |
[% IF WrongTransfer %] |
| 250 |
<input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" /> |
231 |
[% IF !wborcnum %] |
| 251 |
<input type="hidden" name="WT-From" value="[% wtransfertFrom %]" /> |
232 |
<!-- Transfer at wrong location --> |
| 252 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
233 |
<div id="return2" class="dialog message"> |
| 253 |
<input type="hidden" name="print_slip" value="0" /> |
234 |
<h3>Transfer in progress to:<br /> |
| 254 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
235 |
[% Branches.GetName( TransferWaitingAt ) %]</h3> |
| 255 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
236 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
| 256 |
<button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and confirm</button> |
237 |
<button type="submit" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% TransferWaitingAt %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button> |
| 257 |
<input type="hidden" name="return_date_override" value="[% return_date_override %]" /> |
238 |
<button tpye="submit" class="btn btn-default deny" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
| 258 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" /> |
239 |
</div> |
| 259 |
</form> |
240 |
[% ELSIF wborcnum %] |
| 260 |
[% END %] |
241 |
<!-- Hold at wrong location --> |
| 261 |
</div> |
242 |
<div id="hold-found3" class="modal fade audio-alert-action"> |
|
|
243 |
<div class="modal-dialog"> |
| 244 |
<div class="modal-content"> |
| 245 |
<form method="post" action="returns.pl" class="confirm"> |
| 246 |
<div class="modal-header"> |
| 247 |
<h3>Hold in progress (not at this location): |
| 248 |
<br /> |
| 249 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a> |
| 250 |
</h3> |
| 251 |
</div> |
| 252 |
<div class="modal-body"> |
| 253 |
<h4> Hold for:</h4> |
| 254 |
<ul> |
| 255 |
<li> |
| 256 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% wborrowernumber %]">[% wborsurname %], [% wborfirstname %]</a> ([% wborcnum %]) |
| 257 |
<span class="patron-category"> - [% wborcategory %]</span> |
| 258 |
</li> |
| 259 |
</ul> |
| 260 |
<h4><strong>Should have gone to</strong> [% Branches.GetName( destbranch ) %]</h4> |
| 261 |
<input type="hidden" name="WT-itemNumber" value="[% WrongTrnasferItem %]" /> |
| 262 |
<input type="hidden" name="WT-waitingAt" value="[% TransferWaitingAt %]" /> |
| 263 |
<input type="hidden" name="WT-From" value="[% wtransferFrom %]" /> |
| 264 |
<input type="hidden" name="borrowernumber" value="[% wborrowernumber %]" /> |
| 265 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
| 266 |
<input type="hidden" name="return_date_override" value="[% return_date_override %]" /> |
| 267 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember %]" /> |
| 268 |
</div> |
| 269 |
<div class="modal-footer"> |
| 270 |
<input type="hidden" name="print_slip" value="0" /> |
| 271 |
<button type="submit" class="btn btn-default approve"> |
| 272 |
<i class="fa fa-check"></i> Confirm |
| 273 |
</button> |
| 274 |
<button type="submit" class="btn btn-default approve" onclick="this.form.print_slip.value = 1; this.form.submit();"> |
| 275 |
<i class="fa fa-print"></i> Print and confirm |
| 276 |
</button> |
| 277 |
</div> |
| 278 |
</form> |
| 279 |
</div> |
| 280 |
</div> |
| 281 |
</div> |
| 282 |
[% END %] |
| 262 |
[% END %] |
283 |
[% END %] |
| 263 |
|
284 |
|
| 264 |
[% IF ( found ) %] |
285 |
[% IF ( found ) %] |
|
Lines 374-384
$(document).ready(function () {
Link Here
|
| 374 |
[% END %] |
395 |
[% END %] |
| 375 |
|
396 |
|
| 376 |
<form method="post" action="returns.pl" class="confirm"> |
397 |
<form method="post" action="returns.pl" class="confirm"> |
| 377 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Confirm</button> |
398 |
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> Confirm</button> |
| 378 |
<input type="hidden" name="print_slip" value="0" /> |
399 |
<input type="hidden" name="print_slip" value="0" /> |
| 379 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
400 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
| 380 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber %]" /> |
401 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber %]" /> |
| 381 |
<button type="submit" class="print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button> |
402 |
<button type="submit" class="btn btn-default print" onclick="this.form.print_slip.value = 1; this.form.submit();"><i class="fa fa-print"></i> Print slip and continue</button> |
| 382 |
[% FOREACH inputloo IN inputloop %] |
403 |
[% FOREACH inputloo IN inputloop %] |
| 383 |
<input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" /> |
404 |
<input type="hidden" name="ri-[% inputloo.counter %]" value="[% inputloo.barcode %]" /> |
| 384 |
<input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" /> |
405 |
<input type="hidden" name="dd-[% inputloo.counter %]" value="[% inputloo.duedate %]" /> |
|
Lines 396-421
$(document).ready(function () {
Link Here
|
| 396 |
</div> |
417 |
</div> |
| 397 |
[% END %] |
418 |
[% END %] |
| 398 |
|
419 |
|
| 399 |
[% IF ( transfer ) %] |
420 |
[% IF transfer || ( WrongTransfer && !wborcnum ) %] |
| 400 |
<!-- transfer: item with no reservation, must be returned according to home library circulation rules --> |
421 |
<!-- transfer: item with no reservation, must be returned according to home library circulation rules --> |
| 401 |
<div id="return1" class="dialog message audio-alert-action"> |
422 |
<div id="return1" class="dialog message audio-alert-action"> |
| 402 |
<h3>Transferring item to: [% Branches.GetName( returnbranch ) %]</h3> |
423 |
<h3>Transferring item to: [% Branches.GetName( returnbranch ) %]</h3> |
| 403 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
424 |
<p><a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %]</a></p> |
| 404 |
<button type="button" class="openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
425 |
<button type="button" class="btn btn-default openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Print slip</button> |
| 405 |
<button class="deny" type="submit" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
426 |
<button type="submit" class="btn btn-default deny" onclick="window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber %]&canceltransfer=1'"><i class="fa fa-times"></i> Cancel transfer</button> |
| 406 |
</div> |
427 |
</div> |
| 407 |
[% END %] |
428 |
[% END %] |
| 408 |
|
429 |
|
| 409 |
[% IF ( needstransfer ) %] |
430 |
[% IF needstransfer %] |
| 410 |
<!-- needstransfer --> |
431 |
<!-- needstransfer --> |
| 411 |
<div id="item-transfer" class="dialog message audio-alert-action"><h3> This item needs to be transferred to [% Branches.GetName( returnbranch ) %]</h3> |
432 |
<div id="item-transfer" class="dialog message audio-alert-action"> |
| 412 |
Transfer now?<br /> |
433 |
<h3>This item needs to be transferred to |
|
|
434 |
<br /> |
| 435 |
[% Branches.GetName( returnbranch ) %] |
| 436 |
<br /><br /> |
| 437 |
Transfer now?<br /> |
| 438 |
</h3> |
| 413 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
439 |
<form method="post" action="returns.pl" name="mainform" id="mainform"> |
| 414 |
[% IF itemnumber %] |
440 |
[% IF itemnumber %] |
| 415 |
<button type="submit" name="dotransfer" value="Yes" class="print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
441 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber %]&&branchcode=[% returnbranch %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> |
| 416 |
[% END %] |
442 |
[% END %] |
| 417 |
<button type="submit" name="dotransfer" value="Yes" class="submit"><i class="fa fa-check"></i> Yes</button> |
443 |
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default submit"><i class="fa fa-check"></i> Yes</button> |
| 418 |
<button type="submit" name="notransfer" value="No" class="submit"><i class="fa fa-times"></i> No</button> |
444 |
<button type="submit" name="notransfer" value="No" class="btn btn-default submit"><i class="fa fa-times"></i> No</button> |
| 419 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
445 |
<input type="hidden" name="tobranch" value="[% returnbranch %]" /> |
| 420 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
446 |
<input type="hidden" name="transferitem" value="[% itemnumber %]" /> |
| 421 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
447 |
<input type="hidden" name="exemptfine" value="[% exemptfine %]" /> |
|
Lines 671-689
$(document).ready(function () {
Link Here
|
| 671 |
[% ELSE %] |
697 |
[% ELSE %] |
| 672 |
<input name="barcode" id="barcode" size="14" class="focus"/> |
698 |
<input name="barcode" id="barcode" size="14" class="focus"/> |
| 673 |
[% END %] |
699 |
[% END %] |
| 674 |
<input type="submit" class="submit" value="Submit" /> |
700 |
<button type="submit" class="btn btn-default submit" />Search</button> |
| 675 |
|
701 |
|
| 676 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
702 |
[% IF Koha.Preference('SpecifyReturnDate') %] |
| 677 |
<div class="date-select" id="return_date_override_fields"> |
703 |
<div class="date-select" id="return_date_override_fields"> |
| 678 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
704 |
<div class="hint">Specify return date [% INCLUDE 'date-format.inc' %]: </div> |
| 679 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" /> |
705 |
<input type="text" size="13" id="return_date_override" name="return_date_override" value="[% return_date_override %]" /> |
|
|
706 |
<input type="button" class="btn btn-default action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" /> |
| 707 |
<br /> |
| 680 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
708 |
<label for="return_date_override_remember"> Remember for next check in:</label> |
| 681 |
[% IF ( return_date_override_remember ) %] |
709 |
[% IF ( return_date_override_remember ) %] |
| 682 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
710 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" checked="checked" /> |
| 683 |
[% ELSE %] |
711 |
[% ELSE %] |
| 684 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
712 |
<input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" /> |
| 685 |
[% END %] |
713 |
[% END %] |
| 686 |
<input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" /> |
|
|
| 687 |
</div> |
714 |
</div> |
| 688 |
[% END %] |
715 |
[% END %] |
| 689 |
[% FOREACH inputloo IN inputloop %] |
716 |
[% FOREACH inputloo IN inputloop %] |
| 690 |
- |
|
|