4 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Circulation › Transfers</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="circ_branchtransfers" class="circ">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'circ-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Transfers</div>
15 <div class="main container-fluid">
17 [% IF Koha.Preference('CircSidebar') %]
18 <div class="col-sm-10 col-sm-push-2">
20 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
25 <h3>Reserve found</h3>
29 Reserve found for [% name | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
32 Item is marked waiting at [% branchname | html %] for [% name | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
34 [% IF ( transferred ) %]
35 Item is attached to a hold and being transferred for [% name | html %] (<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% borrowernumber | html %]</a>).
40 [% IF ( reserved ) %]Set reserve to waiting and transfer book to [% branchname | html %]: [% END %]
41 [% IF ( waiting or transferred ) %]Cancel reservation and then attempt transfer: [% END %]
44 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
45 [% FOREACH trsfitemloo IN trsfitemloop %]
46 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
47 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
48 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
50 <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
51 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
52 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
53 [% IF ( waiting or transferred ) %]
54 <input type="hidden" name="barcode" value="[% barcode | html %]" />
55 <input type="hidden" name="request" value="KillWaiting" />
56 <input type="submit" value="Cancel" />
59 <input type="hidden" name="request" value="SetWaiting" />
60 <input type="submit" value="Waiting" />
67 <th>Cancel reservation and then attempt transfer:</th>
69 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
70 [% FOREACH trsfitemloo IN trsfitemloop %]
71 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
72 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
73 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
75 <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
76 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
77 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
78 <input type="hidden" name="barcode" value="[% barcode | html %]" />
79 <input type="hidden" name="request" value="KillReserved" />
80 <input type="submit" value="Cancel" />
86 <th>Ignore and return to transfers: </th>
88 <form method="post" name="mainform" id="mainform" action="branchtransfers.pl">
89 <input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" />
90 <input type="hidden" name="barcode" />
91 [% FOREACH trsfitemloo IN trsfitemloop %]
92 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
93 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
94 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
96 <input type="submit" value="Ignore" />
103 [% IF ( reqmessage ) %]
104 <div class="dialog message">
106 [% IF ( cancelled ) %]
107 <li>Reserve cancelled</li>
109 [% IF ( setwaiting ) %]
110 <li>Item should now be waiting at library: [% reqbrchname | html %]</li>
116 [% IF ( errmsgloop ) %]
117 <div class="dialog message">
119 [% FOREACH errmsgloo IN errmsgloop %]
120 [% IF ( errmsgloo.errbadcode ) %]
121 <li>No Item with barcode: [% errmsgloo.msg | html %]</li>
123 [% IF ( errmsgloo.errispermanent ) %]
124 <li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li>
126 [% IF ( errmsgloo.errnotallowed ) %]
127 <li>Transfer is not allowed for:
129 [% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %]
130 <li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li>
132 <li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li>
134 <li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li>
135 <li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li>
139 [% IF ( errmsgloo.errdesteqholding ) %]
140 <li>Item is already at destination library.</li>
142 [% IF ( errmsgloo.errwasreturned ) %]
143 <li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]">
144 [% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %]
145 ([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li>
152 <div id="branchtransfers">
153 <form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl">
154 <fieldset class="brief">
155 <legend>Transfer</legend>
158 <label for="tobranchcd">Destination library: </label>
159 <select name="tobranchcd" id="tobranchcd">
160 [% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %]
164 <label for="barcode">Enter barcode: </label>
165 <input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" value="Submit" />
169 <input type="hidden" name="tobranchcd" value="[% tobrancd | html %]" />
170 [% FOREACH trsfitemloo IN trsfitemloop %]
171 <input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" />
172 <input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" />
173 <input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" />
178 [% IF ( trsfitemloop ) %]
180 <caption>Transferred items</caption>
182 <th class="tf-title">Title</th>
183 <th class="tf-author">Author</th>
184 <th class="tf-barcode">Barcode</th>
185 <th class="tf-location">Shelving location</th>
186 <th class="tf-itemcallnumber">Call number</th>
187 <th class="tf-itemtype">Item type</th>
188 <th class="tf-ccode">Collection</th>
189 <th class="tf-origin">Origin</th>
190 <th class="tf-destination">Destination</th>
192 [% FOREACH trsfitemloo IN trsfitemloop %]
194 <td class="tf-title">
195 [% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %]
198 <td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td>
199 <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>
200 <td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td>
201 <td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td>
202 <td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td>
203 <td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td>
204 <td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td>
205 <td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td>
215 </div> <!-- /.col-sm-10.col-sm-push-2 -->
216 [% IF Koha.Preference('CircSidebar') %]
217 <div class="col-sm-2 col-sm-pull-10">
219 [% INCLUDE 'circ-nav.inc' %]
221 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
223 </div> <!-- /.row -->
225 [% INCLUDE 'intranet-bottom.inc' %]