Lines 794-800
Link Here
|
794 |
<th class="ci-collection">Collection</th> |
794 |
<th class="ci-collection">Collection</th> |
795 |
<th class="ci-patron">Patron</th> |
795 |
<th class="ci-patron">Patron</th> |
796 |
<th class="ci-note">Note</th> |
796 |
<th class="ci-note">Note</th> |
797 |
<th class="ci-printslip"> </th> |
|
|
798 |
</tr> |
797 |
</tr> |
799 |
</thead> |
798 |
</thead> |
800 |
|
799 |
|
Lines 862-867
Link Here
|
862 |
</span> |
861 |
</span> |
863 |
</span> |
862 |
</span> |
864 |
[% END %] |
863 |
[% END %] |
|
|
864 |
<a class="btn btn-default btn-xs printcheckinslip" href="#" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> |
865 |
[% ELSE %] |
865 |
[% ELSE %] |
866 |
Not checked out |
866 |
Not checked out |
867 |
[% END %] |
867 |
[% END %] |
Lines 877-885
Link Here
|
877 |
<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</span></p> |
877 |
<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</span></p> |
878 |
[% END %] |
878 |
[% END %] |
879 |
</td> |
879 |
</td> |
880 |
<td class="ci-printslip actions"> |
|
|
881 |
<a id="printcheckinslip" href="#" class="btn btn-default" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> |
882 |
</td> |
883 |
</tr> |
880 |
</tr> |
884 |
[% END # /FOREACH riloo %] |
881 |
[% END # /FOREACH riloo %] |
885 |
</table> <!-- /#checkedintable --> |
882 |
</table> <!-- /#checkedintable --> |
Lines 1076-1085
Link Here
|
1076 |
}); |
1073 |
}); |
1077 |
$('[data-toggle="tooltip"]').tooltip(); |
1074 |
$('[data-toggle="tooltip"]').tooltip(); |
1078 |
|
1075 |
|
1079 |
$("#printcheckinslip").click(function(){ |
1076 |
$(".printcheckinslip").on("click", function(e){ |
|
|
1077 |
e.preventDefault(); |
1080 |
var borrowernumber = $(this).data('borrowernumber'); |
1078 |
var borrowernumber = $(this).data('borrowernumber'); |
1081 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1079 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1082 |
return false; |
|
|
1083 |
}); |
1080 |
}); |
1084 |
|
1081 |
|
1085 |
}); |
1082 |
}); |
1086 |
- |
|
|