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 198-216
Link Here
|
198 |
</div> |
199 |
</div> |
199 |
|
200 |
|
200 |
[% IF ( trsfitemloop ) %] |
201 |
[% IF ( trsfitemloop ) %] |
201 |
<div class="page-section"> |
202 |
<table> |
202 |
<table> |
203 |
<caption>Transferred items</caption> |
203 |
<caption>Transferred items</caption> |
204 |
<tr> |
|
|
205 |
<th class="tf-title">Title</th> |
206 |
<th class="tf-author">Author</th> |
207 |
<th class="tf-barcode">Barcode</th> |
208 |
<th class="tf-location">Shelving location</th> |
209 |
<th class="tf-itemcallnumber">Call number</th> |
210 |
<th class="tf-itemtype">Item type</th> |
211 |
<th class="tf-ccode">Collection</th> |
212 |
<th class="tf-origin">Origin</th> |
213 |
<th class="tf-destination">Destination</th> |
214 |
<th class="tf-printslip">Print transfer slip</th> |
215 |
</tr> |
216 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
204 |
<tr> |
217 |
<tr> |
205 |
<th class="tf-title">Title</th> |
218 |
<td class="tf-title"> |
206 |
<th class="tf-author">Author</th> |
219 |
[% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %] |
207 |
<th class="tf-barcode">Barcode</th> |
220 |
</a> |
208 |
<th class="tf-location">Shelving location</th> |
221 |
</td> |
209 |
<th class="tf-itemcallnumber">Call number</th> |
222 |
<td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td> |
210 |
<th class="tf-itemtype">Item type</th> |
223 |
<td class="tf-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% trsfitemloo.item.biblionumber | uri %]&itemnumber=[% trsfitemloo.item.itemnumber | uri %]#item[% trsfitemloo.item.itemnumber | uri %]">[% trsfitemloo.item.barcode | html %]</a></td> |
211 |
<th class="tf-ccode">Collection</th> |
224 |
<td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td> |
212 |
<th class="tf-origin">Origin</th> |
225 |
<td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td> |
213 |
<th class="tf-destination">Destination</th> |
226 |
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td> |
|
|
227 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
228 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
229 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
230 |
<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> |
214 |
</tr> |
231 |
</tr> |
215 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
232 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
216 |
<tr> |
233 |
<tr> |
Lines 245-249
Link Here
|
245 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
262 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
246 |
[% END %] |
263 |
[% END %] |
247 |
</div> <!-- /.row --> |
264 |
</div> <!-- /.row --> |
248 |
|
265 |
[% MACRO jsinclude BLOCK %] |
|
|
266 |
<script> |
267 |
$('.printtransferslip').click(function(){ |
268 |
var itemnumber = $(this).attr('data-itemnumber'); |
269 |
var to_branch = $(this).attr('data-tobranch'); |
270 |
window.open("/cgi-bin/koha/circ/transfer-slip.pl?transferitem=" + itemnumber + "&branchcode=" + to_branch); |
271 |
return false; |
272 |
}) |
273 |
</script> |
274 |
[% END %] |
249 |
[% INCLUDE 'intranet-bottom.inc' %] |
275 |
[% INCLUDE 'intranet-bottom.inc' %] |
250 |
- |
|
|