Lines 16-21
Link Here
|
16 |
<script type="text/javascript">//<![CDATA[ |
16 |
<script type="text/javascript">//<![CDATA[ |
17 |
$(document).ready(function() { |
17 |
$(document).ready(function() { |
18 |
$('#article-request-tabs').tabs(); |
18 |
$('#article-request-tabs').tabs(); |
|
|
19 |
|
20 |
[% IF article_requests_pending.count %] |
21 |
$(".ar-pending-none").hide(); |
22 |
[% END %] |
23 |
|
24 |
[% IF article_requests_processing.count %] |
25 |
$(".ar-processing-none").hide(); |
26 |
[% END %] |
19 |
}); |
27 |
}); |
20 |
|
28 |
|
21 |
function PrintSlip(link) { |
29 |
function PrintSlip(link) { |
Lines 40-51
Link Here
|
40 |
}, |
48 |
}, |
41 |
success: function( data ) { |
49 |
success: function( data ) { |
42 |
a.closest('tr').remove(); |
50 |
a.closest('tr').remove(); |
|
|
51 |
UpdateTabCounts() |
43 |
}, |
52 |
}, |
44 |
dataType: 'json' |
53 |
dataType: 'json' |
45 |
}); |
54 |
}); |
46 |
} |
55 |
} |
47 |
|
56 |
|
48 |
function Process( id, a ) { |
57 |
function Process( id, a ) { |
|
|
58 |
var table_row = a.closest('tr').clone(); |
59 |
table_row.find('.ar-process-request').remove(); |
60 |
|
49 |
a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>'); |
61 |
a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>'); |
50 |
a.closest('div').hide(); |
62 |
a.closest('div').hide(); |
51 |
$.ajax({ |
63 |
$.ajax({ |
Lines 57-62
Link Here
|
57 |
}, |
69 |
}, |
58 |
success: function( data ) { |
70 |
success: function( data ) { |
59 |
a.closest('tr').remove(); |
71 |
a.closest('tr').remove(); |
|
|
72 |
$("#article-requests-processing-table").append( table_row ); |
73 |
UpdateTabCounts() |
60 |
}, |
74 |
}, |
61 |
dataType: 'json' |
75 |
dataType: 'json' |
62 |
}); |
76 |
}); |
Lines 74-83
Link Here
|
74 |
}, |
88 |
}, |
75 |
success: function( data ) { |
89 |
success: function( data ) { |
76 |
a.closest('tr').remove(); |
90 |
a.closest('tr').remove(); |
|
|
91 |
UpdateTabCounts() |
77 |
}, |
92 |
}, |
78 |
dataType: 'json' |
93 |
dataType: 'json' |
79 |
}); |
94 |
}); |
80 |
} |
95 |
} |
|
|
96 |
|
97 |
function UpdateTabCounts() { |
98 |
var pending_count = $('#article-requests-pending-table tbody tr.ar-row').length; |
99 |
$("#ar_pending_count").html( pending_count ); |
100 |
if ( pending_count == 0 ) $(".ar-pending-none").show(); |
101 |
|
102 |
var processing_count = $('#article-requests-processing-table tbody tr.ar-row').length; |
103 |
$("#ar_processing_count").html( processing_count ); |
104 |
if ( processing_count == 0 ) $(".ar-processing-none").show(); |
105 |
} |
81 |
//]]></script> |
106 |
//]]></script> |
82 |
|
107 |
|
83 |
<div id="breadcrumbs"> |
108 |
<div id="breadcrumbs"> |
Lines 110-362
Link Here
|
110 |
|
135 |
|
111 |
<div id="article-request-tabs" class="toptabs"> |
136 |
<div id="article-request-tabs" class="toptabs"> |
112 |
<ul> |
137 |
<ul> |
113 |
<li><a href="#article-requests-pending">Pending ([% article_requests_pending.count %])</a></li> |
138 |
<li> |
114 |
<li><a href="#article-requests-processing">Processing ([% article_requests_processing.count %])</a></li> |
139 |
<a href="#article-requests-pending"> |
|
|
140 |
Pending (<span id="ar_pending_count">[% article_requests_pending.count %]</span>) |
141 |
</a> |
142 |
</li> |
143 |
|
144 |
<li> |
145 |
<a href="#article-requests-processing"> |
146 |
Processing (<span id="ar_processing_count">[% article_requests_processing.count %]</span>) |
147 |
</a> |
148 |
</li> |
115 |
</ul> |
149 |
</ul> |
116 |
|
150 |
|
117 |
<div id="article-requests-pending"> |
151 |
<div id="article-requests-pending"> |
118 |
[% IF article_requests_pending.count %] |
152 |
<table id="article-requests-pending-table"> |
119 |
<table id="article-requests-processing-pending-table"> |
153 |
<thead> |
120 |
<thead> |
154 |
<tr> |
121 |
<tr> |
155 |
<th class="ar-title">Title</th> |
122 |
<th class="ar-title">Title</th> |
156 |
<th class="ar-request">Requested article</th> |
123 |
<th class="ar-request">Requested article</th> |
157 |
<th class="ar-collection">Collection</th> |
124 |
<th class="ar-collection">Collection</th> |
158 |
<th class="ar-itemtype">Item type</th> |
125 |
<th class="ar-itemtype">Item type</th> |
159 |
<th class="ar-callnumber">Call number</th> |
126 |
<th class="ar-callnumber">Call number</th> |
160 |
<th class="ar-copynumber">Copy number</th> |
127 |
<th class="ar-copynumber">Copy number</th> |
161 |
<th class="ar-enumchron">Enumeration</th> |
128 |
<th class="ar-enumchron">Enumeration</th> |
162 |
<th class="ar-barcode">Barcode</th> |
129 |
<th class="ar-barcode">Barcode</th> |
163 |
<th class="ar-patron">Patron</th> |
130 |
<th class="ar-patron">Patron</th> |
164 |
<th class="ar-date">Date</th> |
131 |
<th class="ar-date">Date</th> |
165 |
<th class="ar-actions">Actions</th> |
132 |
<th class="ar-actions">Actions</th> |
166 |
</tr> |
133 |
</tr> |
167 |
</thead> |
134 |
</thead> |
168 |
|
135 |
|
169 |
<tbody> |
136 |
<tbody> |
170 |
<tr class="ar-pending-none"> |
137 |
[% FOREACH ar IN article_requests_pending %] |
171 |
<td colspan="11"> |
138 |
<tr> |
172 |
There are no pending article requests at this time. |
139 |
<td class="ar-title"> |
173 |
</td> |
140 |
<p> |
174 |
</tr> |
141 |
<a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]"> |
175 |
|
142 |
<strong>[% ar.biblio.title | html %]</strong> |
176 |
[% FOREACH ar IN article_requests_pending %] |
143 |
[% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] |
177 |
<tr class="ar-row ar-pending"> |
144 |
</a> |
178 |
<td class="ar-title"> |
145 |
</p> |
179 |
<p> |
146 |
|
180 |
<a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]"> |
147 |
<p> |
181 |
<strong>[% ar.biblio.title | html %]</strong> |
148 |
<div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> |
182 |
[% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] |
149 |
<div class="ar-author">[% ar.biblio.author %]</div> |
183 |
</a> |
150 |
<div class="ar-pubdata"> |
184 |
</p> |
151 |
[% ar.biblio.biblioitem.publishercode %] |
185 |
|
152 |
|
186 |
<p> |
153 |
[% IF ar.biblio.biblioitem.publicationyear %] |
187 |
<div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> |
154 |
, [% ar.biblio.biblioitem.publicationyear %] |
188 |
<div class="ar-author">[% ar.biblio.author %]</div> |
155 |
[% ELSIF ar.biblio.copyrightdate %] |
189 |
<div class="ar-pubdata"> |
156 |
, [% ar.biblio.copyrightdate %] |
190 |
[% ar.biblio.biblioitem.publishercode %] |
157 |
[% END %] |
191 |
|
158 |
|
192 |
[% IF ar.biblio.biblioitem.publicationyear %] |
159 |
[% IF ar.biblio.biblioitem.pages %] |
193 |
, [% ar.biblio.biblioitem.publicationyear %] |
160 |
: [% ar.biblio.biblioitem.pages %] |
194 |
[% ELSIF ar.biblio.copyrightdate %] |
161 |
[% END %] |
195 |
, [% ar.biblio.copyrightdate %] |
162 |
|
196 |
[% END %] |
163 |
[% r.biblio.biblioitem.size %] |
197 |
|
164 |
|
198 |
[% IF ar.biblio.biblioitem.pages %] |
165 |
[% IF ar.biblio.biblioitem.isbn %] |
199 |
: [% ar.biblio.biblioitem.pages %] |
166 |
ISBN: [% ar.biblio.biblioitem.isbn %] |
200 |
[% END %] |
167 |
[% END %] |
201 |
|
168 |
</div> |
202 |
[% r.biblio.biblioitem.size %] |
169 |
</p> |
203 |
|
170 |
</td> |
204 |
[% IF ar.biblio.biblioitem.isbn %] |
171 |
<td class="ar-request"> |
205 |
ISBN: [% ar.biblio.biblioitem.isbn %] |
172 |
[% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] |
206 |
[% END %] |
173 |
[% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] |
|
|
174 |
[% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] |
175 |
[% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] |
176 |
[% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] |
177 |
[% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] |
178 |
[% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] |
179 |
</td> |
180 |
<td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> |
181 |
<td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> |
182 |
<td class="ar-callnumber"> |
183 |
[% IF ar.item.location %] |
184 |
<em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> |
185 |
[% END %] |
186 |
|
187 |
[% ar.item.itemcallnumber %] |
188 |
</td> |
189 |
<td class="ar-copynumber">[% ar.item.copynumber %]</td> |
190 |
<td class="ar-enumchron">[% ar.item.enumchron %]</td> |
191 |
<td class="ar-barcode">[% ar.item.barcode %]</td> |
192 |
<td class="ar-patron"> |
193 |
<p> |
194 |
<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> |
195 |
[% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) |
196 |
</a> |
197 |
</p> |
198 |
|
199 |
<p>[% ar.borrower.phone %]</p> |
200 |
</td> |
201 |
<td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> |
202 |
<td class="ar-actions"> |
203 |
<div class="dropdown"> |
204 |
<a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> |
205 |
Actions <b class="caret"></b> |
206 |
</a> |
207 |
|
208 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> |
209 |
<li> |
210 |
<a href="#" onclick="Process( [% ar.id %], $(this) ); return false;"> |
211 |
<i class="icon-ok-circle"></i> |
212 |
Process request |
213 |
</a> |
214 |
|
215 |
<a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> |
216 |
<i class="icon-ok-circle"></i> |
217 |
Complete request |
218 |
</a> |
219 |
|
220 |
<a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> |
221 |
<i class="icon-remove-circle"></i> |
222 |
Cancel request |
223 |
</a> |
224 |
|
225 |
<a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> |
226 |
<i class="icon-print"></i> |
227 |
Print slip |
228 |
</a> |
229 |
</li> |
230 |
</ul> |
231 |
</div> |
207 |
</div> |
232 |
</td> |
208 |
</p> |
233 |
</tr> |
209 |
</td> |
234 |
[% END %] |
210 |
<td class="ar-request"> |
235 |
</tbody> |
211 |
[% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] |
236 |
</table> |
212 |
[% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] |
237 |
[% ELSE %] |
213 |
[% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] |
238 |
There are currently no pending article requests. |
214 |
[% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] |
239 |
[% END %] |
215 |
[% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] |
|
|
216 |
[% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] |
217 |
[% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] |
218 |
</td> |
219 |
<td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> |
220 |
<td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> |
221 |
<td class="ar-callnumber"> |
222 |
[% IF ar.item.location %] |
223 |
<em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> |
224 |
[% END %] |
225 |
|
226 |
[% ar.item.itemcallnumber %] |
227 |
</td> |
228 |
<td class="ar-copynumber">[% ar.item.copynumber %]</td> |
229 |
<td class="ar-enumchron">[% ar.item.enumchron %]</td> |
230 |
<td class="ar-barcode">[% ar.item.barcode %]</td> |
231 |
<td class="ar-patron"> |
232 |
<p> |
233 |
<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> |
234 |
[% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) |
235 |
</a> |
236 |
</p> |
237 |
|
238 |
<p>[% ar.borrower.phone %]</p> |
239 |
</td> |
240 |
<td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> |
241 |
<td class="ar-actions"> |
242 |
<div class="dropdown"> |
243 |
<a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> |
244 |
Actions <b class="caret"></b> |
245 |
</a> |
246 |
|
247 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> |
248 |
<li> |
249 |
<a class="ar-process-request" href="#" onclick="Process( [% ar.id %], $(this) ); return false;"> |
250 |
<i class="icon-ok-circle"></i> |
251 |
Process request |
252 |
</a> |
253 |
|
254 |
<a class="ar-complete-request" href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> |
255 |
<i class="icon-ok-circle"></i> |
256 |
Complete request |
257 |
</a> |
258 |
|
259 |
<a class="ar-cancel-request" href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> |
260 |
<i class="icon-remove-circle"></i> |
261 |
Cancel request |
262 |
</a> |
263 |
|
264 |
<a class="ar-print-request" href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> |
265 |
<i class="icon-print"></i> |
266 |
Print slip |
267 |
</a> |
268 |
</li> |
269 |
</ul> |
270 |
</div> |
271 |
</td> |
272 |
</tr> |
273 |
[% END %] |
274 |
</tbody> |
275 |
</table> |
240 |
</div> |
276 |
</div> |
241 |
|
277 |
|
242 |
<div id="article-requests-processing"> |
278 |
<div id="article-requests-processing"> |
243 |
[% IF article_requests_processing.count %] |
279 |
<table id="article-requests-processing-table"> |
244 |
<table id="article-requests-processing-table"> |
280 |
<thead> |
245 |
<thead> |
281 |
<tr> |
246 |
<tr> |
282 |
<th class="ar-title">Title</th> |
247 |
<th class="ar-title">Title</th> |
283 |
<th class="ar-request">Requested article</th> |
248 |
<th class="ar-request">Requested article</th> |
284 |
<th class="ar-collection">Collection</th> |
249 |
<th class="ar-collection">Collection</th> |
285 |
<th class="ar-itemtype">Item type</th> |
250 |
<th class="ar-itemtype">Item type</th> |
286 |
<th class="ar-callnumber">Call number</th> |
251 |
<th class="ar-callnumber">Call number</th> |
287 |
<th class="ar-copynumber">Copy number</th> |
252 |
<th class="ar-copynumber">Copy number</th> |
288 |
<th class="ar-enumchron">Enumeration</th> |
253 |
<th class="ar-enumchron">Enumeration</th> |
289 |
<th class="ar-barcode">Barcode</th> |
254 |
<th class="ar-barcode">Barcode</th> |
290 |
<th class="ar-patron">Patron</th> |
255 |
<th class="ar-patron">Patron</th> |
291 |
<th class="ar-date">Date</th> |
256 |
<th class="ar-date">Date</th> |
292 |
<th class="ar-actions">Actions</th> |
257 |
<th class="ar-actions">Actions</th> |
293 |
</tr> |
258 |
</tr> |
294 |
</thead> |
259 |
</thead> |
295 |
|
260 |
|
296 |
<tbody> |
261 |
<tbody> |
297 |
<tr class="ar-processing-none"> |
262 |
[% FOREACH ar IN article_requests_processing %] |
298 |
<td colspan="11"> |
263 |
<tr> |
299 |
There are no article requests in processing at this time. |
264 |
<td class="ar-title"> |
300 |
</td> |
265 |
<p> |
301 |
</tr> |
266 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]"> |
302 |
|
267 |
<strong>[% ar.biblio.title | html %]</strong> |
303 |
[% FOREACH ar IN article_requests_processing %] |
268 |
[% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] |
304 |
<tr class="ar-row ar-processing"> |
269 |
</a> |
305 |
<td class="ar-title"> |
270 |
</p> |
306 |
<p> |
271 |
|
307 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber %]"> |
272 |
<p> |
308 |
<strong>[% ar.biblio.title | html %]</strong> |
273 |
<div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> |
309 |
[% FOREACH s IN itemsloo.subtitle %] [% s %][% END %] |
274 |
<div class="ar-author">[% ar.biblio.author %]</div> |
310 |
</a> |
275 |
<div class="ar-pubdata"> |
311 |
</p> |
276 |
[% ar.biblio.biblioitem.publishercode %] |
312 |
|
277 |
|
313 |
<p> |
278 |
[% IF ar.biblio.biblioitem.publicationyear %] |
314 |
<div class="ar-biblionumber content_hidden">[% ar.biblionumber %]</div> |
279 |
, [% ar.biblio.biblioitem.publicationyear %] |
315 |
<div class="ar-author">[% ar.biblio.author %]</div> |
280 |
[% ELSIF ar.biblio.copyrightdate %] |
316 |
<div class="ar-pubdata"> |
281 |
, [% ar.biblio.copyrightdate %] |
317 |
[% ar.biblio.biblioitem.publishercode %] |
282 |
[% END %] |
318 |
|
283 |
|
319 |
[% IF ar.biblio.biblioitem.publicationyear %] |
284 |
[% IF ar.biblio.biblioitem.pages %] |
320 |
, [% ar.biblio.biblioitem.publicationyear %] |
285 |
: [% ar.biblio.biblioitem.pages %] |
321 |
[% ELSIF ar.biblio.copyrightdate %] |
286 |
[% END %] |
322 |
, [% ar.biblio.copyrightdate %] |
287 |
|
323 |
[% END %] |
288 |
[% r.biblio.biblioitem.size %] |
324 |
|
289 |
|
325 |
[% IF ar.biblio.biblioitem.pages %] |
290 |
[% IF ar.biblio.biblioitem.isbn %] |
326 |
: [% ar.biblio.biblioitem.pages %] |
291 |
ISBN: [% ar.biblio.biblioitem.isbn %] |
327 |
[% END %] |
292 |
[% END %] |
328 |
|
293 |
</div> |
329 |
[% r.biblio.biblioitem.size %] |
294 |
</p> |
330 |
|
295 |
</td> |
331 |
[% IF ar.biblio.biblioitem.isbn %] |
296 |
<td class="ar-request"> |
332 |
ISBN: [% ar.biblio.biblioitem.isbn %] |
297 |
[% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] |
333 |
[% END %] |
298 |
[% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] |
|
|
299 |
[% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] |
300 |
[% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] |
301 |
[% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] |
302 |
[% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] |
303 |
[% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] |
304 |
</td> |
305 |
<td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> |
306 |
<td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> |
307 |
<td class="ar-callnumber"> |
308 |
[% IF ar.item.location %] |
309 |
<em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> |
310 |
[% END %] |
311 |
|
312 |
[% ar.item.itemcallnumber %] |
313 |
</td> |
314 |
<td class="ar-copynumber">[% ar.item.copynumber %]</td> |
315 |
<td class="ar-enumchron">[% ar.item.enumchron %]</td> |
316 |
<td class="ar-barcode">[% ar.item.barcode %]</td> |
317 |
<td class="ar-patron"> |
318 |
<p> |
319 |
<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> |
320 |
[% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) |
321 |
</a> |
322 |
</p> |
323 |
|
324 |
<p>[% ar.borrower.phone %]</p> |
325 |
</td> |
326 |
<td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> |
327 |
<td class="ar-actions"> |
328 |
<div class="dropdown"> |
329 |
<a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> |
330 |
Actions <b class="caret"></b> |
331 |
</a> |
332 |
|
333 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> |
334 |
<li> |
335 |
<a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> |
336 |
<i class="icon-ok-circle"></i> |
337 |
Complete request |
338 |
</a> |
339 |
|
340 |
<a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> |
341 |
<i class="icon-remove-circle"></i> |
342 |
Cancel request |
343 |
</a> |
344 |
|
345 |
<a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> |
346 |
<i class="icon-print"></i> |
347 |
Print slip |
348 |
</a> |
349 |
</li> |
350 |
</ul> |
351 |
</div> |
334 |
</div> |
352 |
</td> |
335 |
</p> |
353 |
</tr> |
336 |
</td> |
354 |
[% END %] |
337 |
<td class="ar-request"> |
355 |
</tbody> |
338 |
[% IF ar.title %] <p><strong>Title:</strong> [% ar.title %] </p> [% END %] |
356 |
</table> |
339 |
[% IF ar.author %] <p><strong>Author:</strong> [% ar.author %] </p> [% END %] |
357 |
[% ELSE %] |
340 |
[% IF ar.volume %] <p><strong>Volume:</strong> [% ar.volume %] </p> [% END %] |
358 |
There are currently no article requests being processed. |
341 |
[% IF ar.issue %] <p><strong>Issue:</strong> [% ar.issue %] </p> [% END %] |
359 |
[% END %] |
342 |
[% IF ar.date %] <p><strong>Date:</strong> [% ar.date %] </p> [% END %] |
|
|
343 |
[% IF ar.pages %] <p><strong>Pages:</strong> [% ar.pages %] </p> [% END %] |
344 |
[% IF ar.chapters %] <p><strong>Chapters:</strong> [% ar.chapters %] </p> [% END %] |
345 |
</td> |
346 |
<td class="ar-collection">[% AuthorisedValues.GetByCode( 'CCODE', ar.item.ccode ) %]</td> |
347 |
<td class="ar-itemtype">[% ItemTypes.GetDescription( ar.item.effective_itemtype ) %]</td> |
348 |
<td class="ar-callnumber"> |
349 |
[% IF ar.item.location %] |
350 |
<em>[% AuthorisedValues.GetByCode( 'LOC', ar.item.location ) %]</em> |
351 |
[% END %] |
352 |
|
353 |
[% ar.item.itemcallnumber %] |
354 |
</td> |
355 |
<td class="ar-copynumber">[% ar.item.copynumber %]</td> |
356 |
<td class="ar-enumchron">[% ar.item.enumchron %]</td> |
357 |
<td class="ar-barcode">[% ar.item.barcode %]</td> |
358 |
<td class="ar-patron"> |
359 |
<p> |
360 |
<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber %]"> |
361 |
[% ar.borrower.surname %][% IF ar.borrower.firstname %], [% ar.borrower.firstname %][% END %] ([% ar.borrower.cardnumber %]) |
362 |
</a> |
363 |
</p> |
364 |
|
365 |
<p>[% ar.borrower.phone %]</p> |
366 |
</td> |
367 |
<td class="ar-date"><span title="[% ar.created_on %]">[% ar.created_on | $KohaDates %]</span></td> |
368 |
<td class="ar-actions"> |
369 |
<div class="dropdown"> |
370 |
<a class="btn btn-mini dropdown-toggle" id="ar-actions" role="button" data-toggle="dropdown" href="#"> |
371 |
Actions <b class="caret"></b> |
372 |
</a> |
373 |
|
374 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="ar-actions"> |
375 |
<li> |
376 |
<a href="#" onclick="Complete( [% ar.id %], $(this) ); return false;"> |
377 |
<i class="icon-ok-circle"></i> |
378 |
Complete request |
379 |
</a> |
380 |
|
381 |
<a href="#" onclick="Cancel( [% ar.id %], $(this) ); return false;"> |
382 |
<i class="icon-remove-circle"></i> |
383 |
Cancel request |
384 |
</a> |
385 |
|
386 |
<a href="#" onclick="PrintSlip('article-request-slip.pl?id=[% ar.id %]'); return false;"> |
387 |
<i class="icon-print"></i> |
388 |
Print slip |
389 |
</a> |
390 |
</li> |
391 |
</ul> |
392 |
</div> |
393 |
</td> |
394 |
</tr> |
395 |
[% END %] |
396 |
</tbody> |
397 |
</table> |
360 |
</div> |
398 |
</div> |
361 |
</div> |
399 |
</div> |
362 |
</div> |
400 |
</div> |
363 |
- |
|
|