Lines 4-9
Link Here
|
4 |
[% USE ItemTypes %] |
4 |
[% USE ItemTypes %] |
5 |
[% USE AuthorisedValues %] |
5 |
[% USE AuthorisedValues %] |
6 |
[% PROCESS 'i18n.inc' %] |
6 |
[% PROCESS 'i18n.inc' %] |
|
|
7 |
[% SET footerjs = 1 %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>[% FILTER collapse %] |
9 |
<title>[% FILTER collapse %] |
9 |
[% t("Transfers") | html %] › |
10 |
[% t("Transfers") | html %] › |
Lines 217-222
Link Here
|
217 |
<th class="tf-ccode">Collection</th> |
218 |
<th class="tf-ccode">Collection</th> |
218 |
<th class="tf-origin">Origin</th> |
219 |
<th class="tf-origin">Origin</th> |
219 |
<th class="tf-destination">Destination</th> |
220 |
<th class="tf-destination">Destination</th> |
|
|
221 |
<th class="tf-printslip">Actions</th> |
220 |
</tr> |
222 |
</tr> |
221 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
223 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
222 |
<tr> |
224 |
<tr> |
Lines 232-237
Link Here
|
232 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
234 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
233 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
235 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
234 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
236 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
|
|
237 |
<td class="tf-printslip"> |
238 |
<button type="button" class="btn btn-default btn-sm printtransferslip" data-itemnumber="[% trsfitemloo.item.itemnumber | html %]" data-tobranch="[% trsfitemloo.tobrcd | html %]"><i class="fa fa-print"></i> Print slip</button> |
239 |
</td> |
235 |
</tr> |
240 |
</tr> |
236 |
[% END # /FOREACH trsfitemloo %] |
241 |
[% END # /FOREACH trsfitemloo %] |
237 |
</table> |
242 |
</table> |
Lines 250-253
Link Here
|
250 |
[% END %] |
255 |
[% END %] |
251 |
</div> <!-- /.row --> |
256 |
</div> <!-- /.row --> |
252 |
|
257 |
|
|
|
258 |
[% MACRO jsinclude BLOCK %] |
259 |
<script> |
260 |
$(".printtransferslip").on("click", function(e){ |
261 |
e.preventDefault(); |
262 |
var itemnumber = $(this).attr('data-itemnumber'); |
263 |
var to_branch = $(this).attr('data-tobranch'); |
264 |
window.open("/cgi-bin/koha/circ/transfer-slip.pl?transferitem=" + itemnumber + "&branchcode=" + to_branch); |
265 |
}); |
266 |
</script> |
267 |
[% END %] |
268 |
|
253 |
[% INCLUDE 'intranet-bottom.inc' %] |
269 |
[% INCLUDE 'intranet-bottom.inc' %] |
254 |
- |
|
|