4 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Transfers › Circulation › Koha</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="circ_branchtransfers" class="circ">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'circ-search.inc' %]
13 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
22 <a href="#" aria-current="page">
29 <div class="main container-fluid">
31 [% IF Koha.Preference('CircSidebar') %]
32 <div class="col-sm-10 col-sm-push-2">
34 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
39 <h3>Reserve found</h3>
43 Reserve found for [% INCLUDE 'patron-title.inc' patron => hold.patron | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
46 Item is marked waiting at [% branchname | html %] for [% name | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
48 [% IF ( transferred ) %]
49 Item has been trapped to fill a hold and is in transit for [% name | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
55 Set reserve to transit and transfer book to [% Branches.GetName( hold.branchcode ) | html %]:
57 [% IF ( waiting or transferred ) %]Cancel reservation and then attempt transfer: [% END %]
60 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
61 [% FOREACH trsfitemloo IN trsfitemloop %]
62 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
63 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
64 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
66 <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
67 <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
68 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
69 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
70 <input type="hidden" name="barcode" value="[% barcode | html %]" />
71 [% IF ( waiting or transferred or processing ) %]
72 <input type="hidden" name="request" value="KillWaiting" />
73 <input type="submit" value="Cancel" />
76 <input type="hidden" name="request" value="SetTransit" />
77 <input type="submit" value="Transfer" />
84 <th>Cancel reservation and then attempt transfer:</th>
86 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
87 [% FOREACH trsfitemloo IN trsfitemloop %]
88 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
89 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
90 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
92 <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
93 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
94 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
95 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
96 <input type="hidden" name="request" value="KillReserved" />
97 <input type="submit" value="Cancel" />
103 <th>Ignore and return to transfers: </th>
105 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
106 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
107 <input type="hidden" name="barcode" />
108 [% FOREACH trsfitemloo IN trsfitemloop %]
109 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
110 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
111 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
113 <input type="submit" value="Ignore" />
120 [% IF ( reqmessage ) %]
121 <div class="dialog message">
123 [% IF ( cancelled ) %]
124 <li>Reserve cancelled</li>
126 [% IF ( settransit ) %]
127 <li>Item is now in transit to [% Branches.GetName(tobranchcd) | html %]</li>
133 [% IF ( errmsgloop ) %]
134 <div class="dialog message">
136 [% FOREACH errmsgloo IN errmsgloop %]
137 [% IF ( errmsgloo.errbadcode ) %]
138 <li>No Item with barcode: [% errmsgloo.msg | html %]</li>
140 [% IF ( errmsgloo.errispermanent ) %]
141 <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li>
143 [% IF ( errmsgloo.errnotallowed ) %]
144 <li>Transfer is not allowed for:
146 [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
147 <li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li>
149 <li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li>
151 <li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li>
152 <li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li>
156 [% IF ( errmsgloo.errdesteqholding ) %]
157 <li>Item is already at destination library.</li>
159 [% IF ( errmsgloo.errwasreturned ) %]
160 <li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]">
161 [% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %]
162 ([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li>
169 <div id="branchtransfers">
170 <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
171 <fieldset class="brief">
172 <legend>Transfer</legend>
175 <label for="tobranchcd">Destination library: </label>
176 <select name="tobranchcd" id="tobranchcd">
177 [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
181 <label for="barcode">Enter barcode: </label>
182 <input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" value="Submit" />
186 [% FOREACH trsfitemloo IN trsfitemloop %]
187 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
188 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
189 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
194 [% IF ( trsfitemloop ) %]
196 <caption>Transferred items</caption>
198 <th class="tf-title">Title</th>
199 <th class="tf-author">Author</th>
200 <th class="tf-barcode">Barcode</th>
201 <th class="tf-location">Shelving location</th>
202 <th class="tf-itemcallnumber">Call number</th>
203 <th class="tf-itemtype">Item type</th>
204 <th class="tf-ccode">Collection</th>
205 <th class="tf-origin">Origin</th>
206 <th class="tf-destination">Destination</th>
208 [% FOREACH trsfitemloo IN trsfitemloop %]
210 <td class="tf-title">
211 [% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %]
214 <td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td>
215 <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>
216 <td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td>
217 <td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td>
218 <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td>
219 <td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td>
220 <td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td>
221 <td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td>
231 </div> <!-- /.col-sm-10.col-sm-push-2 -->
232 [% IF Koha.Preference('CircSidebar') %]
233 <div class="col-sm-2 col-sm-pull-10">
235 [% INCLUDE 'circ-nav.inc' %]
237 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
239 </div> <!-- /.row -->
241 [% INCLUDE 'intranet-bottom.inc' %]