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 (can_renew == 1 && (!Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable')))) || (can_renew==1 && (Koha.Preference('AllowRenewalLimitOverride')) && (!(Koha.Preference('AllowRenewalIfOtherItemsAvaliable')))) || (can_renew == 1 && (Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable')))) %] |
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')))) %] |
|
|
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 |
[% END %] |
116 |
[% END %] |
124 |
[% ELSIF error == "patron_restricted" %] |
117 |
[% ELSIF error == "patron_restricted" %] |
125 |
|
118 |
|
126 |
- |
|
|