Lines 113-118
Link Here
|
113 |
<input type="hidden" name="override_holds" value="1" /> |
113 |
<input type="hidden" name="override_holds" value="1" /> |
114 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button> |
114 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button> |
115 |
</form> |
115 |
</form> |
|
|
116 |
[% ELSIF (!(Koha.Preference('AllowRenewalLimitOverride')) && (Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) %] |
117 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
118 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
119 |
<input type="hidden" name="override_limit" value="1" /> |
120 |
<input type="hidden" name="override_holds" value="1" /> |
121 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button> |
122 |
</form> |
123 |
[% ELSIF ((Koha.Preference('AllowRenewalLimitOverride')) && !(Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) %] |
124 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
125 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
126 |
<input type="hidden" name="override_limit" value="1" /> |
127 |
<input type="hidden" name="override_holds" value="1" /> |
128 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button> |
129 |
</form> |
116 |
[% END %] |
130 |
[% END %] |
117 |
[% ELSIF error == "patron_restricted" %] |
131 |
[% ELSIF error == "patron_restricted" %] |
118 |
|
132 |
|
119 |
- |
|
|