|
Lines 58-63
Link Here
|
| 58 |
</div> |
58 |
</div> |
| 59 |
[% END %] |
59 |
[% END %] |
| 60 |
|
60 |
|
|
|
61 |
[% IF patron_holds_count %] |
| 62 |
<div class="dialog alert alert-info"> |
| 63 |
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>. |
| 64 |
</div> |
| 65 |
[% END %] |
| 66 |
|
| 61 |
<fieldset class="rows"> |
67 |
<fieldset class="rows"> |
| 62 |
<legend>Recall details</legend> |
68 |
<legend>Recall details</legend> |
| 63 |
<form id="recallform" action="/cgi-bin/koha/recalls/request.pl" method="post"> |
69 |
<form id="recallform" action="/cgi-bin/koha/recalls/request.pl" method="post"> |
|
Lines 111-117
Link Here
|
| 111 |
<th>Barcode</th> |
117 |
<th>Barcode</th> |
| 112 |
[% UNLESS ( single_branch_mode ) %] |
118 |
[% UNLESS ( single_branch_mode ) %] |
| 113 |
<th>Home library</th> |
119 |
<th>Home library</th> |
| 114 |
<th>Last location</th> |
120 |
<th>Holding library</th> |
| 115 |
[% END %] |
121 |
[% END %] |
| 116 |
<th>Collection</th> |
122 |
<th>Collection</th> |
| 117 |
<th>Call number</th> |
123 |
<th>Call number</th> |
|
Lines 148-154
Link Here
|
| 148 |
<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> |
154 |
<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> |
| 149 |
[% END %] |
155 |
[% END %] |
| 150 |
[% IF ( item.itemlost || item.withdrawn ) %] |
156 |
[% IF ( item.itemlost || item.withdrawn ) %] |
| 151 |
<span class="lost">Unavailable (lost or missing)</span> |
157 |
<span class="lost">Unavailable (lost or withdrawn)</span> |
| 152 |
[% END %] |
158 |
[% END %] |
| 153 |
[% IF ( item.notforloan ) %] |
159 |
[% IF ( item.notforloan ) %] |
| 154 |
<span class="notforloan">Not for loan ([% item.notforloan | html %])</span> |
160 |
<span class="notforloan">Not for loan ([% item.notforloan | html %])</span> |
|
Lines 168-174
Link Here
|
| 168 |
</span> |
174 |
</span> |
| 169 |
[% ELSIF ( hold.borrowernumber == logged_in_user.borrowernumber ) %] |
175 |
[% ELSIF ( hold.borrowernumber == logged_in_user.borrowernumber ) %] |
| 170 |
<span class="waiting"> |
176 |
<span class="waiting"> |
| 171 |
Patron has already placed a <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]#reserves">reserve</a> on this item. |
177 |
Patron has already placed a <a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | uri %]#reserves">hold</a> on this item. |
| 172 |
</span> |
178 |
</span> |
| 173 |
[% END # / IF ( item.recall or hold ) %] |
179 |
[% END # / IF ( item.recall or hold ) %] |
| 174 |
</td> |
180 |
</td> |
|
Lines 216-221
Link Here
|
| 216 |
|
222 |
|
| 217 |
[% END %] |
223 |
[% END %] |
| 218 |
|
224 |
|
|
|
225 |
<div class="page-section"> |
| 226 |
|
| 219 |
<h2>Existing recalls</h2> |
227 |
<h2>Existing recalls</h2> |
| 220 |
|
228 |
|
| 221 |
[% IF Koha.Preference('UseRecalls') %] |
229 |
[% IF Koha.Preference('UseRecalls') %] |
|
Lines 228-234
Link Here
|
| 228 |
<input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span> |
236 |
<input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span> |
| 229 |
[% INCLUDE 'recalls.inc' %] |
237 |
[% INCLUDE 'recalls.inc' %] |
| 230 |
<fieldset class="action"> |
238 |
<fieldset class="action"> |
| 231 |
<button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button> |
239 |
<button type="submit" id="cancel_selected" class="btn btn-primary btn-sm">Cancel selected recalls</button> |
| 232 |
</fieldset> |
240 |
</fieldset> |
| 233 |
</form> |
241 |
</form> |
| 234 |
</div> <!-- /.page-section --> |
242 |
</div> <!-- /.page-section --> |
|
Lines 258-267
Link Here
|
| 258 |
[% INCLUDE 'datatables.inc' %] |
266 |
[% INCLUDE 'datatables.inc' %] |
| 259 |
[% INCLUDE 'columns_settings.inc' %] |
267 |
[% INCLUDE 'columns_settings.inc' %] |
| 260 |
[% INCLUDE 'calendar.inc' %] |
268 |
[% INCLUDE 'calendar.inc' %] |
|
|
269 |
[% INCLUDE 'select2.inc' %] |
| 261 |
[% SET url_biblio_params = "biblionumber=" _ biblio.biblionumber %] |
270 |
[% SET url_biblio_params = "biblionumber=" _ biblio.biblionumber %] |
| 262 |
[% PROCESS patron_search_js table_id => 'table_borrowers', categories => categories, libraries => libraries, extended_attribute_types => attribute_type_codes, columns => columns, open_on_row_click => 1, on_click_url => '/cgi-bin/koha/recalls/request.pl?' _ url_biblio_params, redirect_if_one_result => 1, redirect_url => '/cgi-bin/koha/recalls/request.pl?' _ url_biblio_params, redirect_if_attribute_equal => 'cardnumber' %] |
271 |
[% PROCESS patron_search_js table_id => 'table_borrowers', categories => categories, libraries => libraries, extended_attribute_types => attribute_type_codes, columns => columns, open_on_row_click => 1, on_click_url => '/cgi-bin/koha/recalls/request.pl?' _ url_biblio_params, redirect_if_one_result => 1, redirect_url => '/cgi-bin/koha/recalls/request.pl?' _ url_biblio_params, redirect_if_attribute_equal => 'cardnumber' %] |
| 263 |
<script> |
272 |
<script> |
| 264 |
table_settings = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]; |
273 |
table_settings = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]; |
|
|
274 |
$.fn.select2.defaults.set("width", "100%" ); |
| 275 |
$.fn.select2.defaults.set("dropdownAutoWidth", true ); |
| 265 |
$(document).ready(function(){ |
276 |
$(document).ready(function(){ |
| 266 |
$("#recalls_patronsearch").on("submit", filter); |
277 |
$("#recalls_patronsearch").on("submit", filter); |
| 267 |
[% UNLESS patron %] |
278 |
[% UNLESS patron %] |