|
Lines 577-582
$(document).ready(function () {
Link Here
|
| 577 |
</div> |
577 |
</div> |
| 578 |
</div> |
578 |
</div> |
| 579 |
[% END %] |
579 |
[% END %] |
|
|
580 |
|
| 581 |
<!-- item has been recalled --> |
| 582 |
[% IF ( recalled ) %] |
| 583 |
<!-- recalled --> |
| 584 |
<div id="recalled" class="modal fade audio-alert-action"> |
| 585 |
<div class="modal-dialog"> |
| 586 |
<div class="modal-content"> |
| 587 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" class="confirm"> |
| 588 |
<div class="modal-header"> |
| 589 |
<h3>Recall found: <br/> |
| 590 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% itembiblionumber %]">[% itembarcode |html %]: [% title |html %] </a> |
| 591 |
</h3> |
| 592 |
</div> |
| 593 |
|
| 594 |
<div class="modal-body"> |
| 595 |
[% IF ( recallnotes ) %] |
| 596 |
<h4>Notes: [% recall.recallnotes %]</h4> |
| 597 |
[% END %] |
| 598 |
<h5>This item has been recalled by:</h5> |
| 599 |
<li> |
| 600 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% patron.surname %], [% patron.firstname %]</a> |
| 601 |
([% patron.cardnumber %]) |
| 602 |
<span class="patron-category"> - [% patron.category.description %]</span> |
| 603 |
</li> |
| 604 |
|
| 605 |
[% INCLUDE display_holdpatron_address %] |
| 606 |
|
| 607 |
[% IF ( patron.phone ) %] |
| 608 |
<li>[% patron.phone %]</li> |
| 609 |
[% END %] |
| 610 |
|
| 611 |
[% IF ( patron.email ) %] |
| 612 |
<li><a id="boremail" href="mailto:[% patron.email %]">[% patron.email %]</a></li> |
| 613 |
[% END %] |
| 614 |
|
| 615 |
[% IF ( patron.debarred ) %] |
| 616 |
<li class="error">Patron is RESTRICTED</li> |
| 617 |
[% END %] |
| 618 |
|
| 619 |
[% IF ( patron.gonenoaddress ) %] |
| 620 |
<li class="error">Patron's address is in doubt</li> |
| 621 |
[% END %] |
| 622 |
|
| 623 |
<h4><strong>Wait for pickup at</strong> [% recall.branch.branchname %]</h4> |
| 624 |
|
| 625 |
<input type="hidden" name="itemnumber" value="[% recall.itemnumber %]" /> |
| 626 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" /> |
| 627 |
<input type="hidden" name="biblionumber" value="[% itembiblionumber %]" /> |
| 628 |
<input type="hidden" name="recall_id" value="[% recall.recall_id %]" /> |
| 629 |
<input type="hidden" name="diffBranch" value="[% recall.branchcode %]" /> |
| 630 |
</div> |
| 631 |
|
| 632 |
<div class="modal-footer"> |
| 633 |
<button type="submit" class="btn btn-default approve"> |
| 634 |
<i class="fa fa-check"></i> Confirm recall waiting |
| 635 |
</button> |
| 636 |
|
| 637 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-danger deny" onclick="$('#barcode').focus(); return false;"> |
| 638 |
<i class="fa fa-times"></i> Ignore |
| 639 |
</button> |
| 640 |
</div> |
| 641 |
</form> |
| 642 |
</div> |
| 643 |
</div> |
| 644 |
</div> |
| 645 |
[% END %] |
| 580 |
[% END %] |
646 |
[% END %] |
| 581 |
|
647 |
|
| 582 |
[% IF ( errmsgloop ) %] |
648 |
[% IF ( errmsgloop ) %] |
| 583 |
- |
|
|