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 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'circ-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
24 <a href="#" aria-current="page">
32 <div class="main container-fluid">
34 [% IF Koha.Preference('CircSidebar') %]
35 <div class="col-sm-10 col-sm-push-2">
37 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
41 <h1>Transfer items</h1>
44 <h3>Reserve found</h3>
45 <div class="page-section">
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>).
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>).
54 [% IF ( transferred ) %]
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>).
61 Transfer item to [% Branches.GetName( hold.branchcode ) | html %]:
63 [% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %]
66 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
67 [% FOREACH trsfitemloo IN trsfitemloop %]
68 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
69 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
70 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
72 <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
73 <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
74 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
75 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
76 <input type="hidden" name="barcode" value="[% barcode | html %]" />
77 [% IF ( waiting or transferred or processing ) %]
78 <input type="hidden" name="request" value="KillWaiting" />
79 <input type="submit" value="Cancel" />
82 <input type="hidden" name="request" value="SetTransit" />
83 <input type="submit" value="Transfer" />
90 <th>Cancel hold and then attempt transfer:</th>
92 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
93 [% FOREACH trsfitemloo IN trsfitemloop %]
94 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
95 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
96 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
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" />
109 <th>Ignore and return to transfers: </th>
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 %]" />
119 <input type="submit" value="Ignore" />
124 </div> <!-- /.page-section -->
126 [% IF ( reqmessage ) %]
127 <div class="dialog message">
129 [% IF ( cancelled ) %]
130 <li>Reserve cancelled</li>
132 [% IF ( settransit ) %]
133 <li>Item is now in transit to [% Branches.GetName(tobranchcd) | html %]</li>
139 [% IF ( errmsgloop ) %]
140 <div class="dialog message">
142 [% FOREACH errmsgloo IN errmsgloop %]
143 [% IF ( errmsgloo.errbadcode ) %]
144 <li>No item with barcode: [% errmsgloo.msg | html %]</li>
146 [% IF ( errmsgloo.errispermanent ) %]
147 <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li>
149 [% IF ( errmsgloo.errnotallowed ) %]
150 <li>Transfer is not allowed for:
152 [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
153 <li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li>
155 <li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li>
157 <li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li>
158 <li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li>
162 [% IF ( errmsgloo.errdesteqholding ) %]
163 <li>Item is already at destination library.</li>
165 [% IF ( errmsgloo.errwasreturned ) %]
166 <li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]">
167 [% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %]
168 ([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li>
175 <div id="branchtransfers">
176 <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
177 <fieldset class="brief">
178 <legend>Transfer</legend>
181 <label for="tobranchcd">Destination library: </label>
182 <select name="tobranchcd" id="tobranchcd">
183 [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
187 <label for="barcode">Enter barcode: </label>
188 <input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" value="Submit" />
192 [% FOREACH trsfitemloo IN trsfitemloop %]
193 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
194 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
195 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
200 [% IF ( trsfitemloop ) %]
201 <div class="page-section">
203 <caption>Transferred items</caption>
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>
215 [% FOREACH trsfitemloo IN trsfitemloop %]
217 <td class="tf-title">
218 [% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %]
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>
232 </div> <!-- /.page-section -->
239 </div> <!-- /.col-sm-10.col-sm-push-2 -->
240 [% IF Koha.Preference('CircSidebar') %]
241 <div class="col-sm-2 col-sm-pull-10">
243 [% INCLUDE 'circ-nav.inc' %]
245 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
247 </div> <!-- /.row -->
249 [% INCLUDE 'intranet-bottom.inc' %]