|
Lines 42-126
Link Here
|
| 42 |
|
42 |
|
| 43 |
[% IF ( found ) %] |
43 |
[% IF ( found ) %] |
| 44 |
<h3>Reserve found</h3> |
44 |
<h3>Reserve found</h3> |
| 45 |
<table> |
45 |
<div class="page-section"> |
| 46 |
<caption> |
46 |
<table> |
| 47 |
[% IF ( reserved ) %] |
47 |
<caption> |
| 48 |
<span>Hold found for [% INCLUDE 'patron-title.inc' patron => hold.patron | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
|
|
| 49 |
[% END %] |
| 50 |
[% IF ( waiting ) %] |
| 51 |
<span>Item is marked waiting at [% branchname | html %] for [% name | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
| 52 |
[% END %] |
| 53 |
[% IF ( transferred ) %] |
| 54 |
<span>Item has been trapped to fill a hold and is in transit for [% name | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
| 55 |
[% END %] |
| 56 |
</caption> |
| 57 |
<tr> |
| 58 |
<th> |
| 59 |
[% IF ( reserved ) %] |
48 |
[% IF ( reserved ) %] |
| 60 |
Transfer item to [% Branches.GetName( hold.branchcode ) | html %]: |
49 |
<span>Hold found for [% INCLUDE 'patron-title.inc' patron => hold.patron | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
| 61 |
[% END %] |
50 |
[% END %] |
| 62 |
[% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %] |
51 |
[% IF ( waiting ) %] |
| 63 |
</th> |
52 |
<span>Item is marked waiting at [% branchname | html %] for [% name | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
| 64 |
<td> |
53 |
[% END %] |
| 65 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
54 |
[% IF ( transferred ) %] |
| 66 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
55 |
<span>Item has been trapped to fill a hold and is in transit for [% name | html %]</span> (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>). |
| 67 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
56 |
[% END %] |
| 68 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
57 |
</caption> |
| 69 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
58 |
<tr> |
| 70 |
[% END %] |
59 |
<th> |
| 71 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
|
|
| 72 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 73 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
| 74 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
| 75 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
| 76 |
[% IF ( waiting or transferred or processing ) %] |
| 77 |
<input type="hidden" name="request" value="KillWaiting" /> |
| 78 |
<input type="submit" value="Cancel" /> |
| 79 |
[% END %] |
| 80 |
[% IF ( reserved ) %] |
60 |
[% IF ( reserved ) %] |
| 81 |
<input type="hidden" name="request" value="SetTransit" /> |
61 |
Transfer item to [% Branches.GetName( hold.branchcode ) | html %]: |
| 82 |
<input type="submit" value="Transfer" /> |
|
|
| 83 |
[% END %] |
62 |
[% END %] |
| 84 |
</form> |
63 |
[% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %] |
| 85 |
</td> |
64 |
</th> |
| 86 |
</tr> |
65 |
<td> |
| 87 |
[% IF ( reserved ) %] |
66 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
| 88 |
<tr> |
67 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
| 89 |
<th>Cancel hold and then attempt transfer:</th> |
68 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
| 90 |
<td> |
69 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
| 91 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
70 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
| 92 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
71 |
[% END %] |
| 93 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
72 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
| 94 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
73 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
| 95 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
74 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
| 96 |
[% END %] |
75 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
| 97 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
76 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
| 98 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
77 |
[% IF ( waiting or transferred or processing ) %] |
| 99 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
78 |
<input type="hidden" name="request" value="KillWaiting" /> |
| 100 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
|
|
| 101 |
<input type="hidden" name="request" value="KillReserved" /> |
| 102 |
<input type="submit" value="Cancel" /> |
79 |
<input type="submit" value="Cancel" /> |
| 103 |
</form> |
80 |
[% END %] |
| 104 |
</td> |
81 |
[% IF ( reserved ) %] |
| 105 |
</tr> |
82 |
<input type="hidden" name="request" value="SetTransit" /> |
| 106 |
[% END %] |
83 |
<input type="submit" value="Transfer" /> |
| 107 |
<tr> |
84 |
[% END %] |
| 108 |
<th>Ignore and return to transfers: </th> |
85 |
</form> |
|
|
86 |
</td> |
| 87 |
</tr> |
| 88 |
[% IF ( reserved ) %] |
| 89 |
<tr> |
| 90 |
<th>Cancel hold and then attempt transfer:</th> |
| 109 |
<td> |
91 |
<td> |
| 110 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
92 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
| 111 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
|
|
| 112 |
<input type="hidden" name="barcode" /> |
| 113 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
93 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
| 114 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
94 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
| 115 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
95 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
| 116 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
96 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
| 117 |
[% END %] |
97 |
[% END %] |
| 118 |
<input type="submit" value="Ignore" /> |
98 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
|
|
99 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
| 100 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
| 101 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
| 102 |
<input type="hidden" name="request" value="KillReserved" /> |
| 103 |
<input type="submit" value="Cancel" /> |
| 119 |
</form> |
104 |
</form> |
| 120 |
</td> |
105 |
</td> |
| 121 |
</tr> |
106 |
</tr> |
| 122 |
</table> |
107 |
[% END %] |
| 123 |
|
108 |
<tr> |
|
|
109 |
<th>Ignore and return to transfers: </th> |
| 110 |
<td> |
| 111 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
| 112 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
| 113 |
<input type="hidden" name="barcode" /> |
| 114 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
| 115 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
| 116 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
| 117 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
| 118 |
[% END %] |
| 119 |
<input type="submit" value="Ignore" /> |
| 120 |
</form> |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
</table> |
| 124 |
</div> <!-- /.page-section --> |
| 124 |
[% ELSE %] |
125 |
[% ELSE %] |
| 125 |
[% IF ( reqmessage ) %] |
126 |
[% IF ( reqmessage ) %] |
| 126 |
<div class="dialog message"> |
127 |
<div class="dialog message"> |
|
Lines 197-232
Link Here
|
| 197 |
</div> |
198 |
</div> |
| 198 |
|
199 |
|
| 199 |
[% IF ( trsfitemloop ) %] |
200 |
[% IF ( trsfitemloop ) %] |
| 200 |
<table> |
201 |
<div class="page-section"> |
| 201 |
<caption>Transferred items</caption> |
202 |
<table> |
| 202 |
<tr> |
203 |
<caption>Transferred items</caption> |
| 203 |
<th class="tf-title">Title</th> |
|
|
| 204 |
<th class="tf-author">Author</th> |
| 205 |
<th class="tf-barcode">Barcode</th> |
| 206 |
<th class="tf-location">Shelving location</th> |
| 207 |
<th class="tf-itemcallnumber">Call number</th> |
| 208 |
<th class="tf-itemtype">Item type</th> |
| 209 |
<th class="tf-ccode">Collection</th> |
| 210 |
<th class="tf-origin">Origin</th> |
| 211 |
<th class="tf-destination">Destination</th> |
| 212 |
</tr> |
| 213 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
| 214 |
<tr> |
204 |
<tr> |
| 215 |
<td class="tf-title"> |
205 |
<th class="tf-title">Title</th> |
| 216 |
[% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %] |
206 |
<th class="tf-author">Author</th> |
| 217 |
</a> |
207 |
<th class="tf-barcode">Barcode</th> |
| 218 |
</td> |
208 |
<th class="tf-location">Shelving location</th> |
| 219 |
<td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td> |
209 |
<th class="tf-itemcallnumber">Call number</th> |
| 220 |
<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> |
210 |
<th class="tf-itemtype">Item type</th> |
| 221 |
<td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td> |
211 |
<th class="tf-ccode">Collection</th> |
| 222 |
<td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td> |
212 |
<th class="tf-origin">Origin</th> |
| 223 |
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td> |
213 |
<th class="tf-destination">Destination</th> |
| 224 |
<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> |
| 226 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
| 227 |
</tr> |
214 |
</tr> |
| 228 |
[% END %] |
215 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
| 229 |
</table> |
216 |
<tr> |
|
|
217 |
<td class="tf-title"> |
| 218 |
[% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %] |
| 219 |
</a> |
| 220 |
</td> |
| 221 |
<td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td> |
| 222 |
<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> |
| 223 |
<td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td> |
| 224 |
<td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td> |
| 225 |
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td> |
| 226 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
| 227 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
| 228 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
| 229 |
</tr> |
| 230 |
[% END %] |
| 231 |
</table> |
| 232 |
</div> <!-- /.page-section --> |
| 230 |
[% END %] |
233 |
[% END %] |
| 231 |
|
234 |
|
| 232 |
|
235 |
|
| 233 |
- |
|
|