Lines 106-125
Link Here
|
106 |
|
106 |
|
107 |
<p>This item is on hold for another patron.</p> |
107 |
<p>This item is on hold for another patron.</p> |
108 |
|
108 |
|
109 |
[% IF (Koha.Preference('AllowRenewalLimitOverride')) && (Koha.Preference('AllowRenewalIfOtherItemsAvailable')) %] |
109 |
[% IF ((!Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1) || ((Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1 )%] |
110 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
110 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
111 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
111 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
112 |
<input type="hidden" name="override_limit" value="1" /> |
112 |
<input type="hidden" name="override_limit" value="1" /> |
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'))) || (Koha.Preference('AllowRenewalLimitOverride') && (!(Koha.Preference('AllowRenewalIfOtherItemsAvaliable')))) %] |
116 |
[% ELSIF ((Koha.Preference('AllowRenewalLimitOverride')) && (!Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) %] |
117 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
117 |
<form method="post" action="/cgi-bin/koha/circ/renew.pl"> |
118 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
118 |
<input type="hidden" name="barcode" value="[% item.barcode %]"/> |
119 |
<input type="hidden" name="override_limit" value="1" /> |
119 |
<input type="hidden" name="override_limit" value="1" /> |
120 |
<input type="hidden" name="override_holds" 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> |
121 |
<button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button> |
122 |
</form> |
122 |
</form> |
123 |
[% END %] |
123 |
[% END %] |
124 |
[% ELSIF error == "patron_restricted" %] |
124 |
[% ELSIF error == "patron_restricted" %] |
125 |
|
125 |
|
126 |
- |
|
|