Lines 12-255
Link Here
|
12 |
[% END %]</title> |
12 |
[% END %]</title> |
13 |
[% INCLUDE 'doc-head-close.inc' %] |
13 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
</head> |
14 |
</head> |
15 |
<body id="circ_branchtransfers" class="circ"> |
|
|
16 |
[% WRAPPER 'header.inc' %] |
17 |
[% INCLUDE 'circ-search.inc' %] |
18 |
[% END %] |
19 |
|
15 |
|
|
|
16 |
<body id="circ_branchtransfers" class="circ"> |
17 |
[% WRAPPER 'header.inc' %] |
18 |
[% INCLUDE 'circ-search.inc' %] |
19 |
[% END %] |
20 |
|
20 |
|
21 |
[% WRAPPER 'sub-header.inc' %] |
21 |
[% WRAPPER 'sub-header.inc' %] |
22 |
[% WRAPPER breadcrumbs %] |
22 |
[% WRAPPER breadcrumbs %] |
23 |
[% WRAPPER breadcrumb_item %] |
23 |
[% WRAPPER breadcrumb_item %] |
24 |
<a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> |
24 |
<a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> |
25 |
[% END %] |
25 |
[% END %] |
26 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
26 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
27 |
<span>Transfers</span> |
27 |
<span>Transfers</span> |
28 |
[% END %] |
28 |
[% END %] |
29 |
[% END #/ WRAPPER breadcrumbs %] |
29 |
[% END #/ WRAPPER breadcrumbs %] |
30 |
[% END #/ WRAPPER sub-header.inc %] |
30 |
[% END #/ WRAPPER sub-header.inc %] |
31 |
|
31 |
|
32 |
<div class="main container-fluid"> |
32 |
<div class="main container-fluid"> |
33 |
<div class="row"> |
33 |
<div class="row"> |
34 |
[% IF Koha.Preference('CircSidebar') %] |
34 |
[% IF Koha.Preference('CircSidebar') %] |
35 |
<div class="col-sm-10 col-sm-push-2"> |
35 |
<div class="col-sm-10 col-sm-push-2"> |
36 |
[% ELSE %] |
36 |
[% ELSE %] |
37 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
37 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
38 |
[% END %] |
38 |
[% END %] |
39 |
<main> |
39 |
<main> |
40 |
[% INCLUDE 'messages.inc' %] |
40 |
[% INCLUDE 'messages.inc' %] |
41 |
|
41 |
|
42 |
<h1>Transfer items</h1> |
42 |
<h1>Transfer items</h1> |
43 |
|
43 |
|
44 |
[% IF ( found ) %] |
44 |
[% IF ( found ) %] |
45 |
<h3>Reserve found</h3> |
45 |
<h3>Reserve found</h3> |
46 |
<div class="page-section"> |
46 |
<div class="page-section"> |
47 |
<table> |
47 |
<table> |
48 |
<caption> |
48 |
<caption> |
49 |
[% IF ( reserved ) %] |
49 |
[% IF ( reserved ) %] |
50 |
<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>). |
50 |
<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 |
[% END %] |
51 |
[% END %] |
52 |
[% IF ( waiting ) %] |
52 |
[% IF ( waiting ) %] |
53 |
<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 |
<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 |
[% END %] |
54 |
[% END %] |
55 |
[% IF ( transferred ) %] |
55 |
[% IF ( transferred ) %] |
56 |
<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>). |
56 |
<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>). |
57 |
[% END %] |
57 |
[% END %] |
58 |
</caption> |
58 |
</caption> |
59 |
<tr> |
59 |
<tr> |
60 |
<th> |
60 |
<th> |
61 |
[% IF ( reserved ) %] |
61 |
[% IF ( reserved ) %] |
62 |
Transfer item to [% Branches.GetName( hold.branchcode ) | html %]: |
62 |
Transfer item to [% Branches.GetName( hold.branchcode ) | html %]: |
63 |
[% END %] |
63 |
[% END %] |
64 |
[% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %] |
64 |
[% IF ( waiting or transferred ) %]Cancel hold and then attempt transfer: [% END %] |
65 |
</th> |
65 |
</th> |
66 |
<td> |
66 |
<td> |
67 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
67 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
68 |
[% INCLUDE 'csrf-token.inc' %] |
68 |
[% INCLUDE 'csrf-token.inc' %] |
69 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
69 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
70 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
70 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
71 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
71 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
72 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
72 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
73 |
[% END %] |
73 |
[% END %] |
74 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
74 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
75 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
75 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
76 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
76 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
77 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
77 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
78 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
78 |
<input type="hidden" name="barcode" value="[% barcode | html %]" /> |
79 |
[% IF ( waiting or transferred or processing ) %] |
79 |
[% IF ( waiting or transferred or processing ) %] |
80 |
<input type="hidden" name="op" value="cud-KillWaiting" /> |
80 |
<input type="hidden" name="op" value="cud-KillWaiting" /> |
81 |
<input type="submit" class="btn btn-primary" value="Cancel" /> |
81 |
<input type="submit" class="btn btn-primary" value="Cancel" /> |
|
|
82 |
[% END %] |
83 |
[% IF ( reserved ) %] |
84 |
<input type="hidden" name="op" value="cud-SetTransit" /> |
85 |
<input type="submit" class="btn btn-primary" value="Transfer" /> |
86 |
[% END %] |
87 |
</form> |
88 |
</td> |
89 |
</tr> |
90 |
[% IF ( reserved ) %] |
91 |
<tr> |
92 |
<th>Cancel hold and then attempt transfer:</th> |
93 |
<td> |
94 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
95 |
[% INCLUDE 'csrf-token.inc' %] |
96 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
97 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
98 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
99 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
100 |
[% END %] |
101 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
102 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
103 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
104 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
105 |
<input type="hidden" name="barcode" value="[% barcode | html %]"> |
106 |
<input type="hidden" name="op" value="cud-KillReserved" /> |
107 |
<input type="submit" class="btn btn-primary" value="Cancel" /> |
108 |
</form> |
109 |
</td> |
110 |
</tr> |
111 |
[% END %] |
112 |
<tr> |
113 |
<th>Ignore and return to transfers: </th> |
114 |
<td> |
115 |
<form method="get" name="mainform" id="mainform" action="branchtransfers.pl"> |
116 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
117 |
<input type="hidden" name="barcode" /> |
118 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
119 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
120 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
121 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
122 |
[% END %] |
123 |
<input type="submit" class="btn btn-primary" value="Ignore" /> |
124 |
</form> |
125 |
</td> |
126 |
</tr> |
127 |
</table> |
128 |
</div> <!-- /.page-section --> |
129 |
[% ELSE %] |
130 |
[% IF ( reqmessage ) %] |
131 |
<div class="dialog message"> |
132 |
<ul> |
133 |
[% IF ( cancelled ) %] |
134 |
<li>Reserve cancelled</li> |
135 |
[% END %] |
136 |
[% IF ( settransit ) %] |
137 |
<li>Item is now in transit to [% Branches.GetName(tobranchcd) | html %]</li> |
138 |
[% END %] |
139 |
</ul> |
140 |
</div> |
82 |
[% END %] |
141 |
[% END %] |
83 |
[% IF ( reserved ) %] |
142 |
|
84 |
<input type="hidden" name="op" value="cud-SetTransit" /> |
143 |
[% IF ( errmsgloop ) %] |
85 |
<input type="submit" class="btn btn-primary" value="Transfer" /> |
144 |
<div class="dialog message"> |
|
|
145 |
<ul> |
146 |
[% FOREACH errmsgloo IN errmsgloop %] |
147 |
[% IF ( errmsgloo.errbadcode ) %] |
148 |
<li>No item with barcode: [% errmsgloo.msg | html %]</li> |
149 |
[% END %] |
150 |
[% IF ( errmsgloo.errispermanent ) %] |
151 |
<li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li> |
152 |
[% END %] |
153 |
[% IF ( errmsgloo.errnotallowed ) %] |
154 |
<li>Transfer is not allowed for: |
155 |
<ol> |
156 |
[% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %] |
157 |
<li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li> |
158 |
[% ELSE %] |
159 |
<li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li> |
160 |
[% END %] |
161 |
<li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li> |
162 |
<li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li> |
163 |
</ol> |
164 |
</li> |
165 |
[% END %] |
166 |
[% IF ( errmsgloo.errdesteqholding ) %] |
167 |
<li>Item is already at destination library.</li> |
168 |
[% END %] |
169 |
[% IF ( errmsgloo.errwasreturned ) %] |
170 |
<li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]"> |
171 |
[% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %] |
172 |
([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li> |
173 |
[% END %] |
174 |
[% END %] |
175 |
</ul> |
176 |
</div> |
86 |
[% END %] |
177 |
[% END %] |
87 |
</form> |
178 |
|
88 |
</td> |
179 |
<div id="branchtransfers"> |
89 |
</tr> |
180 |
<form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl"> |
90 |
[% IF ( reserved ) %] |
|
|
91 |
<tr> |
92 |
<th>Cancel hold and then attempt transfer:</th> |
93 |
<td> |
94 |
<form method="post" name="mainform" id="mainform" action="branchtransfers.pl"> |
95 |
[% INCLUDE 'csrf-token.inc' %] |
181 |
[% INCLUDE 'csrf-token.inc' %] |
|
|
182 |
<fieldset class="brief"> |
183 |
<legend>Transfer</legend> |
184 |
<ol> |
185 |
<li> |
186 |
<label for="tobranchcd">Destination library: </label> |
187 |
<select name="tobranchcd" id="tobranchcd"> |
188 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %] |
189 |
</select> |
190 |
</li> |
191 |
<li> |
192 |
<label for="barcode">Enter barcode: </label> |
193 |
<input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" class="btn btn-primary" value="Submit" /> |
194 |
</li> |
195 |
</ol> |
196 |
</fieldset> |
96 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
197 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
97 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
198 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
98 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
199 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
99 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
200 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
100 |
[% END %] |
201 |
[% END %] |
101 |
<input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" /> |
202 |
<input type="hidden" name="op" value="cud-transfer" /> |
102 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
|
|
103 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> |
104 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
105 |
<input type="hidden" name="barcode" value="[% barcode | html %]"> |
106 |
<input type="hidden" name="op" value="cud-KillReserved" /> |
107 |
<input type="submit" class="btn btn-primary" value="Cancel" /> |
108 |
</form> |
203 |
</form> |
109 |
</td> |
204 |
</div> |
110 |
</tr> |
205 |
|
111 |
[% END %] |
206 |
[% IF ( trsfitemloop ) %] |
112 |
<tr> |
207 |
<div class="page-section"> |
113 |
<th>Ignore and return to transfers: </th> |
208 |
<table> |
114 |
<td> |
209 |
<caption>Transferred items</caption> |
115 |
<form method="get" name="mainform" id="mainform" action="branchtransfers.pl"> |
210 |
<tr> |
116 |
<input type="hidden" name="tobranchcd" value="[% tobranchcd | html %]" /> |
211 |
<th class="tf-title">Title</th> |
117 |
<input type="hidden" name="barcode" /> |
212 |
<th class="tf-author">Author</th> |
|
|
213 |
<th class="tf-barcode">Barcode</th> |
214 |
<th class="tf-location">Shelving location</th> |
215 |
<th class="tf-itemcallnumber">Call number</th> |
216 |
<th class="tf-itemtype">Item type</th> |
217 |
<th class="tf-ccode">Collection</th> |
218 |
<th class="tf-origin">Origin</th> |
219 |
<th class="tf-destination">Destination</th> |
220 |
</tr> |
118 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
221 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
119 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
222 |
<tr> |
120 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
223 |
<td class="tf-title"> |
121 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
224 |
[% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %] |
|
|
225 |
</a> |
226 |
</td> |
227 |
<td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td> |
228 |
<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> |
229 |
<td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td> |
230 |
<td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td> |
231 |
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td> |
232 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
233 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
234 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
235 |
</tr> |
122 |
[% END %] |
236 |
[% END %] |
123 |
<input type="submit" class="btn btn-primary" value="Ignore" /> |
237 |
</table> |
124 |
</form> |
238 |
</div> <!-- /.page-section --> |
125 |
</td> |
|
|
126 |
</tr> |
127 |
</table> |
128 |
</div> <!-- /.page-section --> |
129 |
[% ELSE %] |
130 |
[% IF ( reqmessage ) %] |
131 |
<div class="dialog message"> |
132 |
<ul> |
133 |
[% IF ( cancelled ) %] |
134 |
<li>Reserve cancelled</li> |
135 |
[% END %] |
136 |
[% IF ( settransit ) %] |
137 |
<li>Item is now in transit to [% Branches.GetName(tobranchcd) | html %]</li> |
138 |
[% END %] |
139 |
</ul> |
140 |
</div> |
141 |
[% END %] |
142 |
|
143 |
[% IF ( errmsgloop ) %] |
144 |
<div class="dialog message"> |
145 |
<ul> |
146 |
[% FOREACH errmsgloo IN errmsgloop %] |
147 |
[% IF ( errmsgloo.errbadcode ) %] |
148 |
<li>No item with barcode: [% errmsgloo.msg | html %]</li> |
149 |
[% END %] |
150 |
[% IF ( errmsgloo.errispermanent ) %] |
151 |
<li>Please return item to home library: [% Branches.GetName( errmsgloo.msg ) | html %]</li> |
152 |
[% END %] |
153 |
[% IF ( errmsgloo.errnotallowed ) %] |
154 |
<li>Transfer is not allowed for: |
155 |
<ol> |
156 |
[% IF ( Koha.Preference('BranchTransferLimitsType') == 'itemtype' ) %] |
157 |
<li>Item type: <strong>[% ItemTypes.GetDescription( errmsgloo.code ) | html %]</strong></li> |
158 |
[% ELSE %] |
159 |
<li>Collection: <strong>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => errmsgloo.code ) | html %]</strong></li> |
160 |
[% END %] |
161 |
<li>Originating library: <strong>[% Branches.GetName( errmsgloo.fbr ) | html %]</strong></li> |
162 |
<li>Destination library: <strong>[% Branches.GetName( errmsgloo.tbr ) | html %]</strong></li> |
163 |
</ol> |
164 |
</li> |
165 |
[% END %] |
166 |
[% IF ( errmsgloo.errdesteqholding ) %] |
167 |
<li>Item is already at destination library.</li> |
168 |
[% END %] |
169 |
[% IF ( errmsgloo.errwasreturned ) %] |
170 |
<li>Item was on loan to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% errmsgloo.patron.borrowernumber | uri %]"> |
171 |
[% errmsgloo.patron.firstname | html %] [% errmsgloo.patron.surname | html %] |
172 |
([% errmsgloo.patron.cardnumber | html %])</a> and has been returned.</li> |
173 |
[% END %] |
174 |
[% END %] |
175 |
</ul> |
176 |
</div> |
177 |
[% END %] |
239 |
[% END %] |
|
|
240 |
[% END %] |
241 |
</main> |
242 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
178 |
|
243 |
|
179 |
<div id="branchtransfers"> |
244 |
[% IF Koha.Preference('CircSidebar') %] |
180 |
<form method="post" name="mainform" id="mainform" action="/cgi-bin/koha/circ/branchtransfers.pl"> |
245 |
<div class="col-sm-2 col-sm-pull-10"> |
181 |
[% INCLUDE 'csrf-token.inc' %] |
246 |
<aside> |
182 |
<fieldset class="brief"> |
247 |
[% INCLUDE 'circ-nav.inc' %] |
183 |
<legend>Transfer</legend> |
248 |
</aside> |
184 |
<ol> |
249 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
185 |
<li> |
250 |
[% END %] |
186 |
<label for="tobranchcd">Destination library: </label> |
251 |
</div> <!-- /.row --> |
187 |
<select name="tobranchcd" id="tobranchcd"> |
|
|
188 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => tobranchcd, unfiltered => 1) %] |
189 |
</select> |
190 |
</li> |
191 |
<li> |
192 |
<label for="barcode">Enter barcode: </label> |
193 |
<input name="barcode" id="barcode" size="15" class="focus" type="text" /> <input type="submit" class="btn btn-primary" value="Submit" /> |
194 |
</li> |
195 |
</ol> |
196 |
</fieldset> |
197 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
198 |
<input type="hidden" name="bc-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.item.barcode | html %]" /> |
199 |
<input type="hidden" name="fb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.frombrcd | html %]" /> |
200 |
<input type="hidden" name="tb-[% trsfitemloo.counter | html %]" value="[% trsfitemloo.tobrcd | html %]" /> |
201 |
[% END %] |
202 |
<input type="hidden" name="op" value="cud-transfer" /> |
203 |
</form> |
204 |
</div> |
205 |
|
206 |
[% IF ( trsfitemloop ) %] |
207 |
<div class="page-section"> |
208 |
<table> |
209 |
<caption>Transferred items</caption> |
210 |
<tr> |
211 |
<th class="tf-title">Title</th> |
212 |
<th class="tf-author">Author</th> |
213 |
<th class="tf-barcode">Barcode</th> |
214 |
<th class="tf-location">Shelving location</th> |
215 |
<th class="tf-itemcallnumber">Call number</th> |
216 |
<th class="tf-itemtype">Item type</th> |
217 |
<th class="tf-ccode">Collection</th> |
218 |
<th class="tf-origin">Origin</th> |
219 |
<th class="tf-destination">Destination</th> |
220 |
</tr> |
221 |
[% FOREACH trsfitemloo IN trsfitemloop %] |
222 |
<tr> |
223 |
<td class="tf-title"> |
224 |
[% INCLUDE 'biblio-title.inc' biblio=trsfitemloo.item.biblio link=1 %] |
225 |
</a> |
226 |
</td> |
227 |
<td class="tf-author">[% trsfitemloo.item.biblio.author | html %]</td> |
228 |
<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> |
229 |
<td class="tf-location"><span class="shelvingloc">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => trsfitemloo.item.location ) | html %]</span></td> |
230 |
<td class="tf-itemcallnumber">[% trsfitemloo.item.itemcallnumber | html %]</td> |
231 |
<td class="tf-itemtype">[% ItemTypes.GetDescription( trsfitemloo.item.effective_itemtype ) | html %]</td> |
232 |
<td class="tf-ccode">[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %]</td> |
233 |
<td class="tf-origin">[% Branches.GetName( trsfitemloo.frombrcd ) | html %]</td> |
234 |
<td class="tf-destination">[% Branches.GetName( trsfitemloo.tobrcd ) | html %]</td> |
235 |
</tr> |
236 |
[% END %] |
237 |
</table> |
238 |
</div> <!-- /.page-section --> |
239 |
[% END %] |
240 |
|
241 |
|
242 |
[% END %] |
243 |
|
244 |
</main> |
245 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
246 |
[% IF Koha.Preference('CircSidebar') %] |
247 |
<div class="col-sm-2 col-sm-pull-10"> |
248 |
<aside> |
249 |
[% INCLUDE 'circ-nav.inc' %] |
250 |
</aside> |
251 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
252 |
[% END %] |
253 |
</div> <!-- /.row --> |
254 |
|
252 |
|
255 |
[% INCLUDE 'intranet-bottom.inc' %] |
253 |
[% INCLUDE 'intranet-bottom.inc' %] |
256 |
- |
|
|