Lines 19-24
Link Here
|
19 |
› <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a> |
19 |
› <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a> |
20 |
</div> |
20 |
</div> |
21 |
|
21 |
|
|
|
22 |
[% BLOCK show_hold_table %] |
23 |
<table id="[% table.id %]"> |
24 |
<thead><tr> |
25 |
<th class="title-string">Waiting since</th> |
26 |
<th class="title-string">Date hold placed</th> |
27 |
<th class="anti-the">Title</th> |
28 |
<th>Patron</th> |
29 |
<th>Home branch</th> |
30 |
<th>Current location</th> |
31 |
<th>Call number</th> |
32 |
<th>Copy number</th> |
33 |
<th>Enumeration</th> |
34 |
<th>Action</th> |
35 |
</tr></thead> |
36 |
<tbody> |
37 |
[% FOREACH reserveloo IN reserveloop %] |
38 |
<tr> |
39 |
<td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td> |
40 |
<td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td> |
41 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] |
42 |
[% reserveloo.title | html %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield | html %][% END %] |
43 |
</a> |
44 |
[% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %] (<b>[% reserveloo.itemtype | html %]</b>)[% END %][% END %] |
45 |
<br />Barcode: [% reserveloo.barcode | html %] |
46 |
</td> |
47 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.patron.borrowernumber | html %]">[% reserveloo.patron.surname | html %], [% reserveloo.patron.firstname | html %]</a> |
48 |
[% IF ( reserveloo.patron.phone ) %]<br />[% reserveloo.patron.phone | html %][% END %] |
49 |
[% IF ( reserveloo.patron.first_valid_email_address ) %]<br /><a href="mailto:[% reserveloo.patron.first_valid_email_address | html %]?subject=[% table.subject | replace('\$1', reserveloo.title) | html %]"> |
50 |
[% reserveloo.patron.first_valid_email_address | html %]</a>[% END %] |
51 |
</td> |
52 |
<td>[% Branches.GetName( reserveloo.homebranch ) | html %]</td> |
53 |
<td>[% Branches.GetName( reserveloo.holdingbranch ) | html %]</td> |
54 |
<td>[% reserveloo.itemcallnumber | html %]</td> |
55 |
<td>[% reserveloo.copynumber | html %]</td> |
56 |
<td>[% reserveloo.enumchron | html %]</td> |
57 |
<td> |
58 |
<form name="cancelReserve" action="waitingreserves.pl" method="post"> |
59 |
<input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernum | html %]" /> |
60 |
<input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber | html %]" /> |
61 |
<input type="hidden" name="fbr" value="[% reserveloo.holdingbranch | html %]" /> |
62 |
<input type="hidden" name="tbr" value="[% reserveloo.homebranch | html %]" /> |
63 |
<input type="hidden" name="tab" value="[% table.tab %]"> |
64 |
[% IF ( reserveloo.dotransfer ) %] |
65 |
<input type="submit" value="Cancel hold and return to : [% Branches.GetName( reserveloo.homebranch ) | html %]" /> |
66 |
[% ELSE %] |
67 |
<input type="submit" value="Cancel hold" /> |
68 |
[% END %] |
69 |
</form> |
70 |
</td> |
71 |
</tr> |
72 |
[% END %] |
73 |
</tbody> |
74 |
</table> |
75 |
[% END # show_hold_table %] |
76 |
|
22 |
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
77 |
[% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc3" class="yui-t7">[% END %] |
23 |
|
78 |
|
24 |
<div id="bd"> |
79 |
<div id="bd"> |
Lines 68-131
Link Here
|
68 |
</li> |
123 |
</li> |
69 |
</ul> |
124 |
</ul> |
70 |
<div id="holdswaiting"> |
125 |
<div id="holdswaiting"> |
71 |
[% IF ( reserveloop ) %] |
126 |
[% IF ( reserveloop ) %] |
72 |
<table id="holdst"> |
127 |
[% mailsubject = BLOCK %]Hold waiting: $1[% END %] |
73 |
<thead><tr> |
128 |
[% PROCESS show_hold_table table = { "id" => "holdst", "subject" => mailsubject, "tab" => "holdswaiting" } %] |
74 |
<th class="title-string">Waiting since</th> |
|
|
75 |
<th class="title-string">Date hold placed</th> |
76 |
<th class="anti-the">Title</th> |
77 |
<th>Patron</th> |
78 |
<th>Home branch</th> |
79 |
<th>Current location</th> |
80 |
<th>Call number</th> |
81 |
<th>Copy number</th> |
82 |
<th>Enumeration</th> |
83 |
<th>Action</th> |
84 |
</tr></thead> |
85 |
<tbody>[% FOREACH reserveloo IN reserveloop %] |
86 |
<tr> |
87 |
<td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td> |
88 |
<td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td> |
89 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] |
90 |
[% reserveloo.title | html %] [% FOREACH subtitl IN reserveloo.subtitle %] [% subtitl.subfield | html %][% END %] |
91 |
</a> |
92 |
[% UNLESS ( item_level_itypes ) %][% IF ( reserveloo.itemtype ) %] (<b>[% reserveloo.itemtype | html %]</b>)[% END %][% END %] |
93 |
<br />Barcode: [% reserveloo.barcode | html %] |
94 |
</td> |
95 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.patron.borrowernumber | html %]">[% reserveloo.patron.surname | html %], [% reserveloo.patron.firstname | html %]</a> |
96 |
[% IF ( reserveloo.patron.phone ) %]<br />[% reserveloo.patron.phone | html %][% END %] |
97 |
[% IF ( reserveloo.patron.first_valid_email_address ) %]<br /><a href="mailto:[% reserveloo.patron.first_valid_email_address | html %]?subject=Hold waiting: [% reserveloo.title | html %]"> |
98 |
[% reserveloo.patron.first_valid_email_address | html %]</a>[% END %] |
99 |
</td> |
100 |
<td>[% Branches.GetName( reserveloo.homebranch ) | html %]</td> |
101 |
<td>[% Branches.GetName( reserveloo.holdingbranch ) | html %]</td> |
102 |
<td>[% reserveloo.itemcallnumber | html %]</td> |
103 |
<td>[% reserveloo.copynumber | html %]</td> |
104 |
<td>[% reserveloo.enumchron | html %]</td> |
105 |
<td> |
106 |
<form name="cancelReserve" action="waitingreserves.pl" method="post"> |
107 |
<input type="hidden" name="borrowernumber" value="[% reserveloo.borrowernum | html %]" /> |
108 |
<input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber | html %]" /> |
109 |
<input type="hidden" name="fbr" value="[% reserveloo.holdingbranch | html %]" /> |
110 |
<input type="hidden" name="tbr" value="[% reserveloo.homebranch | html %]" /> |
111 |
<input type="hidden" name="tab" value="holdswaiting"> |
112 |
[% IF ( reserveloo.dotransfer ) %] |
113 |
<input type="submit" value="Cancel hold and return to : [% Branches.GetName( reserveloo.homebranch ) | html %]" /> |
114 |
[% ELSE %] |
115 |
<input type="submit" value="Cancel hold" /> |
116 |
[% END %] |
117 |
</form> |
118 |
</td> |
119 |
</tr> |
120 |
[% END %]</tbody> |
121 |
</table> |
122 |
[% ELSE %] |
129 |
[% ELSE %] |
123 |
<div class="dialog message">No holds found.</div> |
130 |
<div class="dialog message">No holds found.</div> |
124 |
[% END %] |
131 |
[% END %] |
125 |
</div> |
132 |
</div> |
126 |
<div id="holdsover"> |
133 |
<div id="holdsover"> |
127 |
[% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] |
134 |
[% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] |
128 |
[% IF ( overloop ) %] |
135 |
[% IF ( overloop ) %] |
129 |
<form name="cancelAllReserve" action="waitingreserves.pl" method="post"> |
136 |
<form name="cancelAllReserve" action="waitingreserves.pl" method="post"> |
130 |
<input type="hidden" name="cancelall" value="1" /> |
137 |
<input type="hidden" name="cancelall" value="1" /> |
131 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
138 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
Lines 140-196
Link Here
|
140 |
Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref) |
147 |
Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref) |
141 |
[% END %] |
148 |
[% END %] |
142 |
|
149 |
|
143 |
<table id="holdso"> |
150 |
[% mailsubject = BLOCK %]Reservation: $1[% END %] |
144 |
<thead><tr> |
151 |
[% PROCESS show_hold_table reserveloop=overloop table = { "id" => "holdso", "subject" => mailsubject, "tab" => "holdsover" } %] |
145 |
<th class="title-string">Waiting since</th> |
|
|
146 |
<th class="title-string">Date hold placed</th> |
147 |
<th class="anti-the">Title</th> |
148 |
<th>Patron</th> |
149 |
<th>Home branch</th> |
150 |
<th>Current location</th> |
151 |
<th>Call number</th> |
152 |
<th>Copy number</th> |
153 |
<th>Enumeration</th> |
154 |
<th>Action</th> |
155 |
</tr></thead> |
156 |
<tbody>[% FOREACH overloo IN overloop %] |
157 |
<tr> |
158 |
<td><span title="[% overloo.waitingdate | html %]">[% overloo.waitingdate | $KohaDates %]</span></td> |
159 |
<td><span title="[% overloo.reservedate | html %]">[% overloo.reservedate | $KohaDates %]</span></td> |
160 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overloo.biblionumber %][% overloo.title | html %] |
161 |
[% FOREACH subtitl IN overloo.subtitle %] [% subtitl.subfield | html %][% END %] |
162 |
</a> |
163 |
[% UNLESS ( item_level_itypes ) %][% IF ( overloo.itemtype ) %] (<b>[% overloo.itemtype | html %]</b>)[% END %][% END %] |
164 |
<br />Barcode: [% overloo.barcode | html %] |
165 |
</td> |
166 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overloo.patron.borrowernumber | html %]">[% overloo.patron.surname | html %], [% overloo.patron.firstname | html %]</a><br />[% overloo.patron.phone | html %]<br /> |
167 |
[% IF ( overloo.patron.first_valid_email_address ) %]<a href="mailto:[% overloo.patron.first_valid_email_address | html %]?subject=Reservation: [% overloo.title |url %]"> |
168 |
[% overloo.patron.first_valid_email_address | html %]</a>[% END %] |
169 |
</td> |
170 |
<td>[% Branches.GetName( overloo.homebranch ) | html %]</td> |
171 |
<td>[% Branches.GetName( overloo.holdingbranch ) | html %]</td> |
172 |
<td>[% overloo.itemcallnumber | html %]</td> |
173 |
<td>[% overloo.copynumber | html %]</td> |
174 |
<td>[% overloo.enumchron | html %]</td> |
175 |
<td><form name="cancelReserve" action="waitingreserves.pl" method="post"> |
176 |
<input type="hidden" name="borrowernumber" value="[% overloo.borrowernum | html %]" /> |
177 |
<input type="hidden" name="itemnumber" value="[% overloo.itemnumber | html %]" /> |
178 |
<input type="hidden" name="fbr" value="[% overloo.holdingbranch | html %]" /> |
179 |
<input type="hidden" name="tbr" value="[% overloo.homebranch | html %]" /> |
180 |
<input type="hidden" name="tab" value="holdsover"> |
181 |
[% IF ( overloo.dotransfer ) %] |
182 |
<input type="submit" value="Cancel hold and return to : [% Branches.GetName( overloo.homebranch ) | html %]" /> |
183 |
[% ELSE %] |
184 |
<input type="submit" value="Cancel hold" /> |
185 |
[% END %] |
186 |
</form> |
187 |
</td> |
188 |
</tr> |
189 |
[% END %]</tbody> |
190 |
</table> |
191 |
[% ELSE %] |
152 |
[% ELSE %] |
192 |
<div class="dialog message">No holds found.</div> |
153 |
<div class="dialog message">No holds found.</div> |
193 |
[% END %] |
154 |
[% END %] |
194 |
</div> |
155 |
</div> |
195 |
</div> |
156 |
</div> |
196 |
[% END %] |
157 |
[% END %] |
197 |
- |
|
|