|
Lines 57-62
Link Here
|
| 57 |
</div> |
57 |
</div> |
| 58 |
[% END %] |
58 |
[% END %] |
| 59 |
|
59 |
|
|
|
60 |
[% IF patron_holds_count %] |
| 61 |
<div class="dialog message"> |
| 62 |
Patron has placed one or more record-level holds. <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber | html %]">Convert a hold to a recall</a>. |
| 63 |
</div> |
| 64 |
[% END %] |
| 65 |
|
| 60 |
<fieldset class="rows"> |
66 |
<fieldset class="rows"> |
| 61 |
<legend>Recall details</legend> |
67 |
<legend>Recall details</legend> |
| 62 |
<form id="recallform" action="/cgi-bin/koha/recalls/request.pl" method="post"> |
68 |
<form id="recallform" action="/cgi-bin/koha/recalls/request.pl" method="post"> |
|
Lines 109-115
Link Here
|
| 109 |
<th>Barcode</th> |
115 |
<th>Barcode</th> |
| 110 |
[% UNLESS ( single_branch_mode ) %] |
116 |
[% UNLESS ( single_branch_mode ) %] |
| 111 |
<th>Home library</th> |
117 |
<th>Home library</th> |
| 112 |
<th>Last location</th> |
118 |
<th>Holding library</th> |
| 113 |
[% END %] |
119 |
[% END %] |
| 114 |
<th>Collection</th> |
120 |
<th>Collection</th> |
| 115 |
<th>Call number</th> |
121 |
<th>Call number</th> |
|
Lines 146-152
Link Here
|
| 146 |
<span class="intransit">In transit from [% Branches.GetName( item.get_transfer.frombranch ) | html %] to [% Branches.GetName( item.get_transfer.tobranch ) | html %] since [% item.get_transfer.datesent | $KohaDates %]</span> |
152 |
<span class="intransit">In transit from [% Branches.GetName( item.get_transfer.frombranch ) | html %] to [% Branches.GetName( item.get_transfer.tobranch ) | html %] since [% item.get_transfer.datesent | $KohaDates %]</span> |
| 147 |
[% END %] |
153 |
[% END %] |
| 148 |
[% IF ( item.itemlost || item.withdrawn ) %] |
154 |
[% IF ( item.itemlost || item.withdrawn ) %] |
| 149 |
<span class="lost">Unavailable (lost or missing)</span> |
155 |
<span class="lost">Unavailable (lost or withdrawn)</span> |
| 150 |
[% END %] |
156 |
[% END %] |
| 151 |
[% IF ( item.notforloan ) %] |
157 |
[% IF ( item.notforloan ) %] |
| 152 |
<span class="notforloan">Not for loan ([% item.notforloan | html %])</span> |
158 |
<span class="notforloan">Not for loan ([% item.notforloan | html %])</span> |
|
Lines 166-172
Link Here
|
| 166 |
</span> |
172 |
</span> |
| 167 |
[% ELSIF ( hold.borrowernumber == logged_in_user.borrowernumber ) %] |
173 |
[% ELSIF ( hold.borrowernumber == logged_in_user.borrowernumber ) %] |
| 168 |
<span class="waiting"> |
174 |
<span class="waiting"> |
| 169 |
Patron has already placed a <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]#reserves">reserve</a> on this item. |
175 |
Patron has already placed a <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]#reserves">hold</a> on this item. |
| 170 |
</span> |
176 |
</span> |
| 171 |
[% END # / IF ( item.recall or hold ) %] |
177 |
[% END # / IF ( item.recall or hold ) %] |
| 172 |
</td> |
178 |
</td> |
|
Lines 213-218
Link Here
|
| 213 |
|
219 |
|
| 214 |
[% END %] |
220 |
[% END %] |
| 215 |
|
221 |
|
|
|
222 |
<div class="page-section"> |
| 223 |
|
| 216 |
<h2>Existing recalls</h2> |
224 |
<h2>Existing recalls</h2> |
| 217 |
|
225 |
|
| 218 |
[% IF Koha.Preference('UseRecalls') %] |
226 |
[% IF Koha.Preference('UseRecalls') %] |
|
Lines 223-229
Link Here
|
| 223 |
<input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span> |
231 |
<input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span> |
| 224 |
[% INCLUDE 'recalls.inc' %] |
232 |
[% INCLUDE 'recalls.inc' %] |
| 225 |
<fieldset class="action"> |
233 |
<fieldset class="action"> |
| 226 |
<button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button> |
234 |
<button type="submit" id="cancel_selected" class="btn btn-primary btn-sm">Cancel selected recalls</button> |
| 227 |
</fieldset> |
235 |
</fieldset> |
| 228 |
</form> |
236 |
</form> |
| 229 |
[% ELSE %] |
237 |
[% ELSE %] |
|
Lines 233-238
Link Here
|
| 233 |
<div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div> |
241 |
<div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div> |
| 234 |
[% END %] |
242 |
[% END %] |
| 235 |
|
243 |
|
|
|
244 |
</div> <!-- page-section Existing recalls --> |
| 245 |
|
| 236 |
[% END %] |
246 |
[% END %] |
| 237 |
|
247 |
|
| 238 |
</main> |
248 |
</main> |