Lines 2-7
Link Here
|
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
3 |
[% USE ItemTypes %] |
3 |
[% USE ItemTypes %] |
4 |
[% USE AuthorisedValues %] |
4 |
[% USE AuthorisedValues %] |
|
|
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>Transfers › Circulation › Koha</title> |
7 |
<title>Transfers › Circulation › Koha</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 209-214
Link Here
|
209 |
<th class="tf-ccode">Collection</th> |
210 |
<th class="tf-ccode">Collection</th> |
210 |
<th class="tf-origin">Origin</th> |
211 |
<th class="tf-origin">Origin</th> |
211 |
<th class="tf-destination">Destination</th> |
212 |
<th class="tf-destination">Destination</th> |
|
|
213 |
<th class="tf-printslip">Print transfer slip</th> |
212 |
</tr> |
214 |
</tr> |
213 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
215 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
214 |
<tr> |
216 |
<tr> |
Lines 224-229
Link Here
|
224 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
226 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
225 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
227 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
226 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
228 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
|
|
229 |
<td class="tf-printslip"><input class="printtransferslip" type="button" name="printtransferslip" value="Print transfer slip" data-itemnumber="[% trsfitemloo.item.itemnumber | html %]" data-tobranch="[% trsfitemloo.tobrcd | html %]"></td> |
227 |
</tr> |
230 |
</tr> |
228 |
[% END %] |
231 |
[% END %] |
229 |
</table> |
232 |
</table> |
Lines 242-246
Link Here
|
242 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
245 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
243 |
[% END %] |
246 |
[% END %] |
244 |
</div> <!-- /.row --> |
247 |
</div> <!-- /.row --> |
245 |
|
248 |
[% MACRO jsinclude BLOCK %] |
|
|
249 |
<script> |
250 |
$('.printtransferslip').click(function(){ |
251 |
var itemnumber = $(this).attr('data-itemnumber'); |
252 |
var to_branch = $(this).attr('data-tobranch'); |
253 |
window.open("/cgi-bin/koha/circ/transfer-slip.pl?transferitem=" + itemnumber + "&branchcode=" + to_branch); |
254 |
return false; |
255 |
}) |
256 |
</script> |
257 |
[% END %] |
246 |
[% INCLUDE 'intranet-bottom.inc' %] |
258 |
[% INCLUDE 'intranet-bottom.inc' %] |
247 |
- |
|
|