Lines 25-31
Link Here
|
25 |
<div id="breadcrumbs"> |
25 |
<div id="breadcrumbs"> |
26 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
26 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
27 |
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › |
27 |
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › |
28 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]">[% biblio.title | html %]</a> › |
28 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% biblio.title | html %]</a> › |
29 |
Place a hold on [% INCLUDE 'biblio-title.inc' %] |
29 |
Place a hold on [% INCLUDE 'biblio-title.inc' %] |
30 |
</div> |
30 |
</div> |
31 |
[% ELSE %] |
31 |
[% ELSE %] |
Lines 34-40
Link Here
|
34 |
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › |
34 |
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › |
35 |
Confirm holds |
35 |
Confirm holds |
36 |
</div> |
36 |
</div> |
37 |
[% END %] |
37 |
[% END # UNLESS multi_hold %] |
38 |
|
38 |
|
39 |
<div class="main container-fluid"> |
39 |
<div class="main container-fluid"> |
40 |
<div class="row"> |
40 |
<div class="row"> |
Lines 97-111
Link Here
|
97 |
[% ELSE %] |
97 |
[% ELSE %] |
98 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "holds" %] |
98 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "holds" %] |
99 |
[% END %] |
99 |
[% END %] |
100 |
</fieldset> |
100 |
</fieldset> <!-- /#circ_holds_selectborrower --> |
101 |
|
101 |
|
102 |
[% IF ( multi_hold ) %] |
102 |
[% IF ( multi_hold ) %] |
103 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
103 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
104 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
104 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
105 |
[% END %] |
105 |
[% END %] |
106 |
</form> |
106 |
</form> <!-- /#holds_patronsearch --> |
107 |
|
107 |
|
108 |
[% ELSIF NOT noitems %] |
108 |
[% ELSIF NOT noitems # /UNLESS patron %] |
109 |
|
109 |
|
110 |
[% IF ( checked_previously && !multi_hold ) %] |
110 |
[% IF ( checked_previously && !multi_hold ) %] |
111 |
<div class="dialog alert"> |
111 |
<div class="dialog alert"> |
Lines 135-143
Link Here
|
135 |
<li> <strong>No items are available</strong> to be placed on hold.</li> |
135 |
<li> <strong>No items are available</strong> to be placed on hold.</li> |
136 |
[% ELSIF ( maxreserves ) %] |
136 |
[% ELSIF ( maxreserves ) %] |
137 |
<li><strong>Too many holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %] </a> has too many holds.</li> |
137 |
<li><strong>Too many holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %] </a> has too many holds.</li> |
138 |
[% END %] |
138 |
[% END # /IF exceeded_maxreserves %] |
139 |
</ul> |
139 |
</ul> |
140 |
[% ELSE %] |
140 |
[% ELSE # UNLESS multi_hold %] |
141 |
<h3>Cannot place hold on some items</h3> |
141 |
<h3>Cannot place hold on some items</h3> |
142 |
[% IF ( exceeded_maxreserves ) %] |
142 |
[% IF ( exceeded_maxreserves ) %] |
143 |
<li><strong>Too many holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %] </a> can place [% new_reserves_allowed | html %] of the requested [% new_reserves_count | html %] holds for a maximum of [% maxreserves | html %] total holds.</li> |
143 |
<li><strong>Too many holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %] </a> can place [% new_reserves_allowed | html %] of the requested [% new_reserves_count | html %] holds for a maximum of [% maxreserves | html %] total holds.</li> |
Lines 147-156
Link Here
|
147 |
<li><strong>Too many holds for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]"> [% biblioloo.title | html %]</a>: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">[% patron.firstname | html %] [% patron.surname | html %] </a> can only place a maximum of [% max_holds_for_record | html %] hold(s) on this record.</li> |
147 |
<li><strong>Too many holds for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblioloo.biblionumber | uri %]"> [% biblioloo.title | html %]</a>: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">[% patron.firstname | html %] [% patron.surname | html %] </a> can only place a maximum of [% max_holds_for_record | html %] hold(s) on this record.</li> |
148 |
[% END %] |
148 |
[% END %] |
149 |
[% END %] |
149 |
[% END %] |
150 |
[% END %] |
150 |
[% END # /IF exceeded_maxreserves %] |
151 |
[% END %] |
151 |
[% END # /UNLESS multi_hold %] |
152 |
</div> |
152 |
</div> |
153 |
[% END %] |
153 |
[% END # /IF ( exceeded_maxreserves || ... %] |
154 |
|
154 |
|
155 |
[% IF ( expiry || diffbranch || patron.is_debarred || ( amount_outstanding && Koha.Preference('maxoutstanding') && amount_outstanding > Koha.Preference('maxoutstanding') ) ) %] |
155 |
[% IF ( expiry || diffbranch || patron.is_debarred || ( amount_outstanding && Koha.Preference('maxoutstanding') && amount_outstanding > Koha.Preference('maxoutstanding') ) ) %] |
156 |
<div class="dialog message"> |
156 |
<div class="dialog message"> |
Lines 170-179
Link Here
|
170 |
[% IF ( diffbranch ) %] |
170 |
[% IF ( diffbranch ) %] |
171 |
<li> <strong>Pickup library is different. </strong>Patron: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %]</a> Patron's home library: ([% Branches.GetName(patron.branchcode) | html %] / [% patron.branchcode | html %] )</li> |
171 |
<li> <strong>Pickup library is different. </strong>Patron: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% patron.firstname | html %] [% patron.surname | html %]</a> Patron's home library: ([% Branches.GetName(patron.branchcode) | html %] / [% patron.branchcode | html %] )</li> |
172 |
[% END %] |
172 |
[% END %] |
173 |
|
173 |
</ul> <!-- /.dialog.message --> |
174 |
</ul> |
|
|
175 |
</div> |
174 |
</div> |
176 |
[% END %] |
175 |
[% END # /IF expiry || diffbranch ... %] |
177 |
|
176 |
|
178 |
[% IF ( messageborrower ) %] |
177 |
[% IF ( messageborrower ) %] |
179 |
<div class="dialog alert"> |
178 |
<div class="dialog alert"> |
Lines 182-190
Link Here
|
182 |
</div> |
181 |
</div> |
183 |
[% END %] |
182 |
[% END %] |
184 |
|
183 |
|
185 |
<fieldset class="rows left"> |
184 |
<fieldset class="rows"> |
186 |
<legend>Hold details</legend> |
185 |
<legend>Hold details</legend> |
187 |
<form action="placerequest.pl" method="post" name="form" id="hold-request-form"> |
186 |
<form action="placerequest.pl" method="post" name="form" id="hold-request-form"> |
188 |
|
187 |
|
189 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
188 |
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
190 |
<input type="hidden" name="type" value="str8" /> |
189 |
<input type="hidden" name="type" value="str8" /> |
Lines 202-208
Link Here
|
202 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
201 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
203 |
<input type="hidden" name="title" value="[% biblio.title | html %]" /> |
202 |
<input type="hidden" name="title" value="[% biblio.title | html %]" /> |
204 |
<input type="hidden" name="rank-request" value="[% fixedRank | html %]" /> |
203 |
<input type="hidden" name="rank-request" value="[% fixedRank | html %]" /> |
205 |
[% END %] |
204 |
[% END # /IF multi_hold %] |
206 |
|
205 |
|
207 |
<ol> |
206 |
<ol> |
208 |
<li> |
207 |
<li> |
Lines 244-250
Link Here
|
244 |
</select> |
243 |
</select> |
245 |
</li> |
244 |
</li> |
246 |
[% END %] |
245 |
[% END %] |
247 |
[% END %] |
246 |
[% END # /UNLESS multi_hold %] |
248 |
|
247 |
|
249 |
[% IF ( reserve_in_future ) %] |
248 |
[% IF ( reserve_in_future ) %] |
250 |
<li> |
249 |
<li> |
Lines 283-289
Link Here
|
283 |
[% ELSE %] |
282 |
[% ELSE %] |
284 |
<input type="hidden" name="holds_to_place_count" value="1" /> |
283 |
<input type="hidden" name="holds_to_place_count" value="1" /> |
285 |
[% END %] |
284 |
[% END %] |
286 |
[% END %] |
285 |
[% END # /UNLESS multi_hold %] |
287 |
</ol> |
286 |
</ol> |
288 |
|
287 |
|
289 |
[% UNLESS ( multi_hold ) %] |
288 |
[% UNLESS ( multi_hold ) %] |
Lines 387-393
Link Here
|
387 |
[% END %] |
386 |
[% END %] |
388 |
[% END %] |
387 |
[% END %] |
389 |
</span> |
388 |
</span> |
390 |
[% END %] |
389 |
[% END # /IF itemloo.force_hold_level %] |
391 |
</td> |
390 |
</td> |
392 |
[% IF ( item_level_itypes ) %] |
391 |
[% IF ( item_level_itypes ) %] |
393 |
<td> |
392 |
<td> |
Lines 452-461
Link Here
|
452 |
[% END %] |
451 |
[% END %] |
453 |
[% END %]. |
452 |
[% END %]. |
454 |
<a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a> |
453 |
<a class="info cancel-hold" href="modrequest.pl?CancelBiblioNumber=[% itemloo.biblionumber | html %]&CancelBorrowerNumber=[% itemloo.ReservedFor.borrowernumber | html %]&CancelItemnumber=[% itemloo.itemnumber | html %]">Cancel hold</a> |
455 |
[% END %] |
454 |
[% END # /IF itemloo.nocancel %] |
456 |
[% ELSE %] |
455 |
[% ELSE %] |
457 |
Not on hold |
456 |
Not on hold |
458 |
[% END %] |
457 |
[% END # /IF itemloo.reservedate %] |
459 |
|
458 |
|
460 |
[% IF itemloo.item_level_holds == "N" %] |
459 |
[% IF itemloo.item_level_holds == "N" %] |
461 |
<br/>Item level hold not allowed from OPAC |
460 |
<br/>Item level hold not allowed from OPAC |
Lines 476-485
Link Here
|
476 |
[% END %] |
475 |
[% END %] |
477 |
</td> |
476 |
</td> |
478 |
</tr> |
477 |
</tr> |
479 |
[% END %] <!--UNLESS item hide--> |
478 |
[% END # / UNLESS itemloo.hide %] |
480 |
[% END %] <!-- itemloop --> |
479 |
[% END # /FOREACH itemloo %] |
481 |
</tbody> |
480 |
</tbody> |
482 |
</table> |
481 |
</table> <!-- /#requestspecific --> |
483 |
|
482 |
|
484 |
[% IF ( bibitemloo.hiddencount ) %] |
483 |
[% IF ( bibitemloo.hiddencount ) %] |
485 |
<form> |
484 |
<form> |
Lines 487-496
Link Here
|
487 |
<a href="request.pl?biblionumber=[% bibitemloo.biblionumber | uri %]&borrowernumber=[% bibitemloo.borrowernumber | uri %]&showallitems=1">Show all items ([% bibitemloo.hiddencount | html %] hidden)</a> |
486 |
<a href="request.pl?biblionumber=[% bibitemloo.biblionumber | uri %]&borrowernumber=[% bibitemloo.borrowernumber | uri %]&showallitems=1">Show all items ([% bibitemloo.hiddencount | html %] hidden)</a> |
488 |
</p> |
487 |
</p> |
489 |
</form> |
488 |
</form> |
490 |
[% END %] <!-- hiddencount --> |
489 |
[% END # /IF bibitemloo.hiddencount %] |
491 |
[% END %] <!-- bibitemloop --> |
490 |
[% END # /FOREACH bibitemloo %] |
492 |
|
491 |
|
493 |
[% ELSE %]<!-- UNLESS multi_hold --> |
492 |
[% ELSE # /UNLESS multi_hold %] |
494 |
|
493 |
|
495 |
<table id="requesttitles"> |
494 |
<table id="requesttitles"> |
496 |
<tr> |
495 |
<tr> |
Lines 565-574
Link Here
|
565 |
[% END %] |
564 |
[% END %] |
566 |
</td> |
565 |
</td> |
567 |
</tr> |
566 |
</tr> |
568 |
[% END %] |
567 |
[% END # /FOREACH biblioloo %] |
569 |
</table> |
568 |
</table> <!-- /#requesttitles --> |
570 |
|
569 |
|
571 |
[% END %]<!-- /multi_hold --> |
570 |
[% END # /UNLESS multi_hold %] |
572 |
|
571 |
|
573 |
<fieldset class="action"> |
572 |
<fieldset class="action"> |
574 |
[% IF ( patron AND patron.borrowernumber ) %] |
573 |
[% IF ( patron AND patron.borrowernumber ) %] |
Lines 583-592
Link Here
|
583 |
<input type="submit" value="Place hold" /> |
582 |
<input type="submit" value="Place hold" /> |
584 |
[% END %] |
583 |
[% END %] |
585 |
[% END %] |
584 |
[% END %] |
586 |
[% END %] |
585 |
[% END # /IF patron %] |
587 |
</fieldset> |
586 |
</fieldset> <!-- /.action --> |
588 |
</form> |
587 |
</form> <!-- /#hold-request-form --> |
589 |
</fieldset> |
588 |
</fieldset> <!-- /.rows --> |
590 |
[% END %] |
589 |
[% END %] |
591 |
|
590 |
|
592 |
[% UNLESS ( patron ) %] |
591 |
[% UNLESS ( patron ) %] |
Lines 597-603
Link Here
|
597 |
<input type = "hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
596 |
<input type = "hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
598 |
[% END %] |
597 |
[% END %] |
599 |
|
598 |
|
600 |
<fieldset class="rows left"> |
599 |
<fieldset class="rows"> |
601 |
<legend>Existing holds</legend> |
600 |
<legend>Existing holds</legend> |
602 |
|
601 |
|
603 |
[% FOREACH biblioloo IN biblioloop %] |
602 |
[% FOREACH biblioloo IN biblioloop %] |
Lines 629-635
Link Here
|
629 |
<legend>[% Branches.GetName( b ) | html %]</legend> |
628 |
<legend>[% Branches.GetName( b ) | html %]</legend> |
630 |
[% INCLUDE holds_table.inc holds=holds_by_branch %] |
629 |
[% INCLUDE holds_table.inc holds=holds_by_branch %] |
631 |
</fieldset> |
630 |
</fieldset> |
632 |
[% END %] |
631 |
[% END # /FOREACh b %] |
633 |
[% ELSIF Koha.Preference('HoldsSplitQueue') == 'itemtype' %] |
632 |
[% ELSIF Koha.Preference('HoldsSplitQueue') == 'itemtype' %] |
634 |
[% SET itemtypes = [] %] |
633 |
[% SET itemtypes = [] %] |
635 |
|
634 |
|
Lines 656-662
Link Here
|
656 |
[% END %] |
655 |
[% END %] |
657 |
[% INCLUDE holds_table.inc holds=holds_by_itemtype %] |
656 |
[% INCLUDE holds_table.inc holds=holds_by_itemtype %] |
658 |
</fieldset> |
657 |
</fieldset> |
659 |
[% END %] |
658 |
[% END # /FOREACH i %] |
660 |
[% ELSIF Koha.Preference('HoldsSplitQueue') == 'branch_itemtype' %] |
659 |
[% ELSIF Koha.Preference('HoldsSplitQueue') == 'branch_itemtype' %] |
661 |
[% SET branchcodes = [] %] |
660 |
[% SET branchcodes = [] %] |
662 |
|
661 |
|
Lines 701-721
Link Here
|
701 |
</fieldset> |
700 |
</fieldset> |
702 |
[% END %] |
701 |
[% END %] |
703 |
</fieldset> |
702 |
</fieldset> |
704 |
[% END %] |
703 |
[% END # /FOREACH b %] |
705 |
[% ELSE %] |
704 |
[% ELSE %] |
706 |
[% INCLUDE holds_table.inc holds=biblioloo.reserveloop %] |
705 |
[% INCLUDE holds_table.inc holds=biblioloo.reserveloop %] |
707 |
[% END %] |
706 |
[% END # /IF HoldsSplitQueue %] |
708 |
|
707 |
|
709 |
[% END %]<!-- /reserveloop --> |
708 |
[% END # /IF biblioloo.reserveloop %] |
710 |
[% END %]<!-- /biblioloop --> |
709 |
[% END # FOREACH biblioloo %] |
711 |
|
710 |
|
712 |
<fieldset class="action"> |
711 |
<fieldset class="action"> |
713 |
<input type="submit" name="submit" value="Update hold(s)" /> |
712 |
<input type="submit" name="submit" value="Update hold(s)" /> |
714 |
</fieldset> |
713 |
</fieldset> |
715 |
</fieldset> |
714 |
</fieldset> <!-- /.rows --> |
716 |
</form> |
715 |
</form> <!-- /name=TTime --> |
717 |
[% END %] |
716 |
[% END # IF reserveloop %] |
718 |
[% END %] |
717 |
[% END # UNLESS patron %] |
719 |
|
718 |
|
720 |
</main> |
719 |
</main> |
721 |
|
720 |
|
Lines 725-731
Link Here
|
725 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
724 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
726 |
<div class="col-sm-2 col-sm-pull-10"> |
725 |
<div class="col-sm-2 col-sm-pull-10"> |
727 |
<aside> |
726 |
<aside> |
728 |
[% INCLUDE 'biblio-view-menu.inc' %] |
727 |
[% INCLUDE 'biblio-view-menu.inc' %] |
729 |
</aside> |
728 |
</aside> |
730 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
729 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
731 |
[% END %] |
730 |
[% END %] |
732 |
- |
|
|