Lines 857-863
Link Here
|
857 |
<th class="ci-collection">Collection</th> |
857 |
<th class="ci-collection">Collection</th> |
858 |
<th class="ci-patron">Patron</th> |
858 |
<th class="ci-patron">Patron</th> |
859 |
<th class="ci-note">Note</th> |
859 |
<th class="ci-note">Note</th> |
860 |
<th class="ci-printslip"> </th> |
|
|
861 |
</tr> |
860 |
</tr> |
862 |
</thead> |
861 |
</thead> |
863 |
|
862 |
|
Lines 928-933
Link Here
|
928 |
</span> |
927 |
</span> |
929 |
</span> |
928 |
</span> |
930 |
[% END %] |
929 |
[% END %] |
|
|
930 |
<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> |
931 |
[% ELSE %] |
931 |
[% ELSE %] |
932 |
Not checked out |
932 |
Not checked out |
933 |
[% END %] |
933 |
[% END %] |
Lines 943-951
Link Here
|
943 |
<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</span></p> |
943 |
<p><span class="circ-hlt item-note-nonpublic">[% riloo.itemnotes_nonpublic | html %]</span></p> |
944 |
[% END %] |
944 |
[% END %] |
945 |
</td> |
945 |
</td> |
946 |
<td class="ci-printslip actions"> |
|
|
947 |
<a id="printcheckinslip" href="#" class="btn btn-default" data-borrowernumber="[% riloo.patron.borrowernumber | html %]"><i class="fa fa-print"></i> Print checkin slip</a> |
948 |
</td> |
949 |
</tr> |
946 |
</tr> |
950 |
[% END # /FOREACH riloo %] |
947 |
[% END # /FOREACH riloo %] |
951 |
</table> <!-- /#checkedintable --> |
948 |
</table> <!-- /#checkedintable --> |
Lines 1144-1153
Link Here
|
1144 |
}); |
1141 |
}); |
1145 |
$('[data-toggle="tooltip"]').tooltip(); |
1142 |
$('[data-toggle="tooltip"]').tooltip(); |
1146 |
|
1143 |
|
1147 |
$("#printcheckinslip").click(function(){ |
1144 |
$(".printcheckinslip").on("click", function(e){ |
|
|
1145 |
e.preventDefault(); |
1148 |
var borrowernumber = $(this).data('borrowernumber'); |
1146 |
var borrowernumber = $(this).data('borrowernumber'); |
1149 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1147 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1150 |
return false; |
|
|
1151 |
}); |
1148 |
}); |
1152 |
|
1149 |
|
1153 |
}); |
1150 |
}); |
1154 |
- |
|
|