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