Line 0
Link Here
|
|
|
1 |
[% USE Koha %] |
2 |
[% USE KohaDates %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Circulation › Overdue recalls</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
<style type="text/css"> p { margin-top: 0; }</style> |
7 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
8 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/recalls.js"></script> |
9 |
[% INCLUDE 'datatables.inc' %] |
10 |
[% INCLUDE 'columns_settings.inc' %] |
11 |
</head> |
12 |
<body id="circ_recalls_overdue" class="circ"> |
13 |
[% INCLUDE 'header.inc' %] |
14 |
[% INCLUDE 'cat-search.inc' %] |
15 |
|
16 |
<div id="breadcrumbs"> |
17 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> |
18 |
› <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> |
19 |
› <a href="/cgi-bin/koha/circ/recalls_overdue.pl">Overdue recalls</a> |
20 |
</div> |
21 |
|
22 |
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc2" class="yui-t7">[% END %] |
23 |
|
24 |
<div id="bd"> |
25 |
<div id="yui-main"> |
26 |
[% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %] |
27 |
<div class="yui-g"> |
28 |
|
29 |
<h1>Overdue recalls</h1> |
30 |
|
31 |
[% IF recalls.count %] |
32 |
|
33 |
<form method="post" action="/cgi-bin/koha/circ/recalls_queue.pl"> |
34 |
<input type="hidden" name="op" value="cancel_multiple_recalls"> |
35 |
|
36 |
<input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span> |
37 |
|
38 |
<div id="recalls"> |
39 |
<table id="recalls-table"> |
40 |
<thead> |
41 |
<tr> |
42 |
<th class="nosort"> </th> |
43 |
<th class="recall-borrower anti-the">Requested by</th> |
44 |
<th class="recall-title anti-the">Title</th> |
45 |
<th class="recall-date psort title-string">Placed on</th> |
46 |
<th class="recall-due title-string">Due date</th> |
47 |
<th class="recall-current-borrower">Currently checked out to</th> |
48 |
<th class="recall-branch">Pickup location</th> |
49 |
<th class="recall-cance nosort">Cancel</th> |
50 |
</tr> |
51 |
</thead> |
52 |
<tbody> |
53 |
[% FOREACH recall IN recalls %] |
54 |
<tr> |
55 |
<td> |
56 |
<input type="checkbox" value="[% recall.recall_id %]" name="recall_ids"> |
57 |
</td> |
58 |
<td class="recall-borrower"> |
59 |
<a class="recall-borrower" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.borrowernumber %]"> |
60 |
[% recall.borrower.firstname %] [% recall.borrower.surname %] ([% recall.borrowernumber %]) |
61 |
</a> |
62 |
</td> |
63 |
<td class="recall-title"> |
64 |
<a class="recall-title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% recall.biblionumber %]"> |
65 |
[% recall.biblio.title %] |
66 |
[% FOREACH s IN recall.biblio.subtitles %] |
67 |
[% s %] |
68 |
[% END %] |
69 |
[% recall.item.enumchron %] |
70 |
</a> |
71 |
[% recall.biblio.author %] |
72 |
</td> |
73 |
<td class="recall-date"> |
74 |
[% recall.recalldate | $KohaDates %] |
75 |
</td> |
76 |
<td class="recall-due"> |
77 |
[% recall.checkout.date_due %] |
78 |
</td> |
79 |
<td class="recall-current-borrower"> |
80 |
<a class="recall-current-borrower" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% recall.checkout.borrowernumber %]"> |
81 |
[% recall.checkout.patron.firstname %] [% recall.checkout.patron.surname %] ([% recall.checkout.borrowernumber %]) |
82 |
</a> |
83 |
</td> |
84 |
<td class="recall-branch"> |
85 |
[% recall.branch.branchname %] |
86 |
</td> |
87 |
<td class="recall-cancel"> |
88 |
<a class="btn btn-xs btn-default" id="cancel_recall" data-id="[% recall.recall_id %]"><i class="fa fa-times"></i> Cancel</a> |
89 |
</td> |
90 |
</tr> |
91 |
[% END %] |
92 |
</tbody> |
93 |
</table> |
94 |
</div> |
95 |
<fieldset class="action"> |
96 |
<button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button> |
97 |
</fieldset> |
98 |
</form> |
99 |
|
100 |
[% ELSE %] |
101 |
|
102 |
<div class="dialog message">There are no overdue recalls.</div> |
103 |
|
104 |
[% END %] |
105 |
|
106 |
</div> |
107 |
</div> |
108 |
|
109 |
</div> |
110 |
|
111 |
[% IF Koha.Preference('CircSidebar') %] |
112 |
<div class="yui-b noprint"> |
113 |
[% INCLUDE 'circ-nav.inc' %] |
114 |
</div> |
115 |
[% END %] |
116 |
</div> |
117 |
|
118 |
[% INCLUDE 'intranet-bottom.inc' %] |