Lines 652-657
Link Here
|
652 |
</div> <!-- /.modal-dialog --> |
652 |
</div> <!-- /.modal-dialog --> |
653 |
</div> <!-- /#hold-found2 --> |
653 |
</div> <!-- /#hold-found2 --> |
654 |
[% END #/IF reserved %] |
654 |
[% END #/IF reserved %] |
|
|
655 |
|
656 |
[% IF ( recalled ) %] |
657 |
<!-- recalled --> |
658 |
<div id="recalled" class="modal fade audio-alert-action block"> |
659 |
<div class="modal-dialog"> |
660 |
<div class="modal-content"> |
661 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" class="confirm"> |
662 |
|
663 |
<div class="modal-header"> |
664 |
<h3> |
665 |
Recall found: |
666 |
<br/> |
667 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% recall.biblionumber | uri %]">[% recall.biblio.title | html %]</a> |
668 |
[% IF recall.item %] |
669 |
<div class="recall-found-barcode"> |
670 |
(<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% recall.biblionumber | uri %]&itemnumber=[% recall.itemnumber | uri %]">[% recall.item.barcode | html %]</a>) |
671 |
</div> |
672 |
[% END %] |
673 |
</h3> |
674 |
</div> |
675 |
|
676 |
<div class="modal-body"> |
677 |
[% IF ( recall.recallnotes ) %] |
678 |
<h4>Notes:</h4> |
679 |
<p>[% recall.recallnotes | html %]</p> |
680 |
<hr /> |
681 |
[% END %] |
682 |
<h5>Recall placed by:</h5> |
683 |
<ul> |
684 |
<li> |
685 |
[% INCLUDE 'patron-title.inc' patron=recall.patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_recalls" %] |
686 |
<span class="patron-category"> - [% recall.patron.category.description | html %]</span> |
687 |
</li> |
688 |
|
689 |
[% INCLUDE display_holdpatron_address patron=recall.patron %] |
690 |
|
691 |
[% IF ( recall.patron.phone ) %] |
692 |
<li>[% recall.patron.phone | html %]</li> |
693 |
[% END %] |
694 |
|
695 |
[% IF ( recall.patron.email ) %] |
696 |
<li> |
697 |
[% IF ( transfertodo ) %] |
698 |
[% recall.patron.email | html %] |
699 |
[% ELSE %] |
700 |
<a id="boremail" href="mailto:[% recall.patron.email | html %]">[% recall.patron.email | html %]</a> |
701 |
[% END %] |
702 |
</li> |
703 |
[% END %] |
704 |
|
705 |
[% UNLESS ( transfertodo) %] |
706 |
[% INCLUDE display_bormessagepref %] |
707 |
[% END %] |
708 |
|
709 |
[% IF ( recall.patron.is_debarred ) %] |
710 |
<li class="error">Patron is RESTRICTED</li> |
711 |
[% END %] |
712 |
|
713 |
[% IF ( recall.patron.gonenoaddress ) %] |
714 |
<li class="error">Patron's address is in doubt</li> |
715 |
[% END %] |
716 |
</ul> |
717 |
[% IF ( transfertodo ) %] |
718 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( recall.branchcode ) | html %]</h4> |
719 |
[% ELSE %] |
720 |
<h4><strong>Recall at</strong> [% Branches.GetName( recall.branchcode ) | html %]</h4> |
721 |
[% END %] |
722 |
|
723 |
<input type="hidden" name="recall_id" value="[% recall.recall_id | html %]"> |
724 |
<input type="hidden" name="barcode" value="[% itembarcode | html %]"> |
725 |
<input type="hidden" name="returnbranch" value="[% Branches.GetLoggedInBranchcode | html %]"> |
726 |
<input type="hidden" name="recall_slip" value="0"> |
727 |
|
728 |
</div> |
729 |
|
730 |
<div class="modal-footer"> |
731 |
[% IF ( transfertodo ) %] |
732 |
<button type="submit" class="btn btn-default approve"> |
733 |
<i class="fa fa-check"></i> Confirm recall and transfer |
734 |
</button> |
735 |
<button type="button" class="btn btn-default print-recall"> |
736 |
<i class="fa fa-print"></i> Print slip, transfer, and confirm |
737 |
</button> |
738 |
[% ELSE %] |
739 |
<button type="submit" class="btn btn-default approve"> |
740 |
<i class="fa fa-check"></i> Confirm recall |
741 |
</button> |
742 |
<button type="button" class="btn btn-default print-recall"> |
743 |
<i class="fa fa-print"></i> Print slip and confirm |
744 |
</button> |
745 |
[% END %] |
746 |
|
747 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
748 |
<i class="fa fa-times"></i> Ignore |
749 |
</button> |
750 |
</div> <!-- /.modal-footer --> |
751 |
</form> <!-- /.confirm --> |
752 |
</div> <!-- /.modal-content --> |
753 |
</div> <!-- /.modal-dialog --> |
754 |
</div> <!-- /#recalled --> |
755 |
[% END #/IF recalled %] |
756 |
|
757 |
[% IF ( waitingrecall ) %] |
758 |
<!-- recalled --> |
759 |
<div id="recalledwaiting" class="modal fade audio-alert-action block"> |
760 |
<div class="modal-dialog"> |
761 |
<div class="modal-content"> |
762 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" class="confirm"> |
763 |
|
764 |
<div class="modal-header"> |
765 |
<h3> |
766 |
Recall found (item is already waiting): |
767 |
<br/> |
768 |
<a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&biblionumber=[% recall.biblionumber | uri %]">[% recall.biblio.title | html %]</a> |
769 |
[% IF recall.item %] |
770 |
<div class="recall-found-barcode"> |
771 |
(<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% recall.biblionumber | uri %]&itemnumber=[% recall.itemnumber | uri %]">[% recall.item.barcode | html %]</a>) |
772 |
</div> |
773 |
[% END %] |
774 |
</h3> |
775 |
</div> |
776 |
|
777 |
<div class="modal-body"> |
778 |
[% IF ( recall.recallnotes ) %] |
779 |
<h4>Notes:</h4> |
780 |
<p>[% recall.recallnotes | html %]</p> |
781 |
<hr /> |
782 |
[% END %] |
783 |
<h5>Recall placed by:</h5> |
784 |
<ul> |
785 |
<li> |
786 |
[% INCLUDE 'patron-title.inc' patron=recall.patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_recalls" %] |
787 |
<span class="patron-category"> - [% recall.patron.category.description | html %]</span> |
788 |
</li> |
789 |
|
790 |
[% INCLUDE display_holdpatron_address patron=recall.patron %] |
791 |
|
792 |
[% IF ( recall.patron.phone ) %] |
793 |
<li>[% recall.patron.phone | html %]</li> |
794 |
[% END %] |
795 |
|
796 |
[% IF ( recall.patron.email ) %] |
797 |
<li> |
798 |
[% IF ( transfertodo ) %] |
799 |
[% recall.patron.email | html %] |
800 |
[% ELSE %] |
801 |
<a id="boremail" href="mailto:[% recall.patron.email | html %]">[% recall.patron.email | html %]</a> |
802 |
[% END %] |
803 |
</li> |
804 |
[% END %] |
805 |
|
806 |
[% UNLESS ( transfertodo) %] |
807 |
[% INCLUDE display_bormessagepref %] |
808 |
[% END %] |
809 |
|
810 |
[% IF ( recall.patron.is_debarred ) %] |
811 |
<li class="error">Patron is RESTRICTED</li> |
812 |
[% END %] |
813 |
|
814 |
[% IF ( recall.patron.gonenoaddress ) %] |
815 |
<li class="error">Patron's address is in doubt</li> |
816 |
[% END %] |
817 |
</ul> |
818 |
[% IF ( transfertodo ) %] |
819 |
<h4><strong>Transfer to:</strong> [% Branches.GetName( recall.branchcode ) | html %]</h4> |
820 |
[% ELSE %] |
821 |
<h4><strong>Wait for pickup at</strong> [% Branches.GetName( recall.branchcode ) | html %]</h4> |
822 |
[% END %] |
823 |
|
824 |
<input type="hidden" name="recall_id" value="[% recall.recall_id | html %]"> |
825 |
<input type="hidden" name="barcode" value="[% itembarcode | html %]"> |
826 |
<input type="hidden" name="returnbranch" value="[% Branches.GetLoggedInBranchcode | html %]"> |
827 |
<input type="hidden" name="recall_slip" value="0"> |
828 |
|
829 |
</div> |
830 |
|
831 |
<div class="modal-footer"> |
832 |
<button type="submit" class="btn btn-default approve"> |
833 |
<i class="fa fa-check"></i> Confirm recall |
834 |
</button> |
835 |
<button type="button" class="btn btn-default print-recall"> |
836 |
<i class="fa fa-print"></i> Print slip and confirm |
837 |
</button> |
838 |
|
839 |
<button data-dismiss="modal" aria-hidden="true" type="submit" class="btn btn-default deny"> |
840 |
<i class="fa fa-times"></i> Ignore |
841 |
</button> |
842 |
</div> <!-- /.modal-footer --> |
843 |
</form> <!-- /.confirm --> |
844 |
</div> <!-- /.modal-content --> |
845 |
</div> <!-- /.modal-dialog --> |
846 |
</div> <!-- /#recalledwaiting--> |
847 |
[% END #/IF recalledwaiting %] |
655 |
[% END # /IF found %] |
848 |
[% END # /IF found %] |
656 |
|
849 |
|
657 |
<div class="static_checkin_messages"> |
850 |
<div class="static_checkin_messages"> |
Lines 934-939
Link Here
|
934 |
[% END %] |
1127 |
[% END %] |
935 |
|
1128 |
|
936 |
var columns_settings = [% TablesSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) | $raw %] |
1129 |
var columns_settings = [% TablesSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) | $raw %] |
|
|
1130 |
|
1131 |
[% IF recall_slip %] |
1132 |
Dopop('/cgi-bin/koha/recalls/recall_pickup_slip.pl?recall_id=[% recall.recall_id | uri %]'); |
1133 |
[% END %] |
1134 |
|
937 |
var returns_table = KohaTable("checkedintable", { |
1135 |
var returns_table = KohaTable("checkedintable", { |
938 |
"bFilter":false, |
1136 |
"bFilter":false, |
939 |
"bPaginate":false, |
1137 |
"bPaginate":false, |
Lines 1039-1044
Link Here
|
1039 |
this.form.submit(); |
1237 |
this.form.submit(); |
1040 |
}); |
1238 |
}); |
1041 |
|
1239 |
|
|
|
1240 |
$('.print-recall').on("click",function(e){ |
1241 |
this.form.recall_slip.value = 1; |
1242 |
this.form.submit(); |
1243 |
}); |
1244 |
|
1042 |
$('.cancel-hold').on("click",function(e){ |
1245 |
$('.cancel-hold').on("click",function(e){ |
1043 |
this.form.cancel_reserve.value = 1; |
1246 |
this.form.cancel_reserve.value = 1; |
1044 |
this.form.submit(); |
1247 |
this.form.submit(); |