Lines 51-95
Link Here
|
51 |
<div id="resultlist"> |
51 |
<div id="resultlist"> |
52 |
[% FOREACH library IN libraries %] |
52 |
[% FOREACH library IN libraries %] |
53 |
[% IF ( library.branchcode ) %] |
53 |
[% IF ( library.branchcode ) %] |
54 |
<table style="width: 100%" id="transferst[% library.branchcode | html %]"> |
54 |
<div class="page-section"> |
55 |
<caption>Sending to [% library.branchname | html %]</caption> |
55 |
<table style="width: 100%" id="transferst[% library.branchcode | html %]"> |
56 |
<thead> |
56 |
<caption>Sending to [% library.branchname | html %]</caption> |
57 |
<tr> |
57 |
<thead> |
58 |
<th>Date of request</th> |
58 |
<tr> |
59 |
<th class="anti-the">Title</th> |
59 |
<th>Date of request</th> |
60 |
<th>Reason</th> |
60 |
<th class="anti-the">Title</th> |
61 |
<th>On loan</th> |
61 |
<th>Reason</th> |
62 |
<th>Home library</th> |
62 |
<th>On loan</th> |
63 |
<th>Call number</th> |
63 |
<th>Home library</th> |
64 |
<th>Actions</th> |
64 |
<th>Call number</th> |
65 |
</tr> |
65 |
<th>Actions</th> |
66 |
</thead> |
66 |
</tr> |
67 |
<tbody> |
67 |
</thead> |
68 |
[% FOREACH transfer IN library.inbound_transfers %] |
68 |
<tbody> |
69 |
[% UNLESS transfer.datesent %] |
69 |
[% FOREACH transfer IN library.inbound_transfers %] |
70 |
<tr> |
70 |
[% UNLESS transfer.datesent %] |
71 |
<td data-order="[% transfer.daterequested | html %]"> |
71 |
<tr> |
72 |
[% transfer.daterequested | $KohaDates %] |
72 |
<td data-order="[% transfer.daterequested | html %]"> |
73 |
</td> |
73 |
[% transfer.daterequested | $KohaDates %] |
74 |
<td> |
74 |
</td> |
75 |
[% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %] |
75 |
<td> |
76 |
[% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %] |
76 |
[% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %] |
77 |
<br />Barcode: [% transfer.item.barcode | html %] |
77 |
[% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %] |
78 |
</td> |
78 |
<br />Barcode: [% transfer.item.barcode | html %] |
79 |
<td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td> |
79 |
</td> |
80 |
<td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td> |
80 |
<td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td> |
81 |
<td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td> |
81 |
<td>[% IF transfer.item.onloan %]Due [% transfer.item.onloan | $KohaDates %][% ELSE %]On shelf[% END %]</td> |
82 |
<td>[% transfer.item.itemcallnumber | html %]</td> |
82 |
<td>[% Branches.GetName( transfer.item.homebranch ) | html %]</td> |
83 |
<td class="actions"> |
83 |
<td>[% transfer.item.itemcallnumber | html %]</td> |
84 |
[% IF transfer.reason == 'StockrotationAdvance' %] |
84 |
<td class="actions"> |
85 |
<a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber | uri %]&biblionumber=[% transfer.item.biblionumber | uri %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a> |
85 |
[% IF transfer.reason == 'StockrotationAdvance' %] |
|
|
86 |
<a href="/cgi-bin/koha/catalogue/stockrotation.pl?op=toggle_in_demand&stage_id=4&item_id=[% transfer.itemnumber | uri %]&biblionumber=[% transfer.item.biblionumber | uri %]" class="btn btn-default btn-xs"><i class="fa fa-fire"></i> Mark "In demand"</a> |
87 |
[% END %] |
88 |
</td> |
89 |
</tr> |
86 |
[% END %] |
90 |
[% END %] |
87 |
</td> |
91 |
[% END %] |
88 |
</tr> |
92 |
</tbody> |
89 |
[% END %] |
93 |
</table> |
90 |
[% END %] |
94 |
</div> <!-- /.page-section --> |
91 |
</tbody> |
|
|
92 |
</table> |
93 |
[% END %] |
95 |
[% END %] |
94 |
[% END %] |
96 |
[% END %] |
95 |
</div> |
97 |
</div> |