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"><i class="fa fa-home"></i></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>
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>).
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>).
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>).
60 Transfer item to [% Branches.GetName( hold.branchcode ) | html %]:
62 [% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %]
65 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
66 [% FOREACH trsfitemloo IN trsfitemloop %]
67 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
68 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
69 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
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" />
81 <input type="hidden" name="request" value="SetTransit" />
82 <input type="submit" value="Transfer" />
89 <th>Cancel hold and then attempt transfer:</th>
91 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
92 [% FOREACH trsfitemloo IN trsfitemloop %]
93 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
94 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
95 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
97 <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
98 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
99 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
100 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
101 <input type="hidden" name="request" value="KillReserved" />
102 <input type="submit" value="Cancel" />
108 <th>Ignore and return to transfers: </th>
110 <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 %]
114 <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 %]" />
116 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
118 <input type="submit" value="Ignore" />
125 [% IF ( reqmessage ) %]
126 <div class="dialog message">
128 [% IF ( cancelled ) %]
129 <li>Reserve cancelled</li>
131 [% IF ( settransit ) %]
132 <li>Item is now in transit to [% Branches.GetName(tobranchcd) | html %]</li>
138 [% IF ( errmsgloop ) %]
139 <div class="dialog message">
141 [% FOREACH errmsgloo IN errmsgloop %]
142 [% IF ( errmsgloo.errbadcode ) %]
143 <li>No item with barcode: [% errmsgloo.msg | html %]</li>
145 [% IF ( errmsgloo.errispermanent ) %]
146 <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li>
148 [% IF ( errmsgloo.errnotallowed ) %]
149 <li>Transfer is not allowed for:
151 [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
152 <li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li>
154 <li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li>
156 <li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li>
157 <li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li>
161 [% IF ( errmsgloo.errdesteqholding ) %]
162 <li>Item is already at destination library.</li>
164 [% IF ( errmsgloo.errwasreturned ) %]
165 <li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]">
166 [% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %]
167 ([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li>
174 <div id="branchtransfers">
175 <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
176 <fieldset class="brief">
177 <legend>Transfer</legend>
180 <label for="tobranchcd">Destination library: </label>
181 <select name="tobranchcd" id="tobranchcd">
182 [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
186 <label for="barcode">Enter barcode: </label>
187 <input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" value="Submit" />
191 [% FOREACH trsfitemloo IN trsfitemloop %]
192 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
193 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
194 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
199 [% IF ( trsfitemloop ) %]
201 <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>
213 [% FOREACH trsfitemloo IN trsfitemloop %]
215 <td class="tf-title">
216 [% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %]
219 <td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td>
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>
221 <td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td>
222 <td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td>
223 <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td>
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>
236 </div> <!-- /.col-sm-10.col-sm-push-2 -->
237 [% IF Koha.Preference('CircSidebar') %]
238 <div class="col-sm-2 col-sm-pull-10">
240 [% INCLUDE 'circ-nav.inc' %]
242 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
244 </div> <!-- /.row -->
246 [% INCLUDE 'intranet-bottom.inc' %]