View | Details | Raw Unified | Return to bug 18450
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-18 / +1 lines)
Lines 112-135 Link Here
112
112
113
                            [% ELSIF error == "on_reserve" %]
113
                            [% ELSIF error == "on_reserve" %]
114
114
115
                                    <p>This item is on hold for another patron.</p>
115
                            <p>This item is on hold for another patron.</p>
116
116
117
                                    <!--[% IF ((!Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1) || ((Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1 )%]
118
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
119
                                            <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
120
                                            <input type="hidden" name="override_limit" value="1" />
121
                                            <input type="hidden" name="override_holds" value="1" />
122
                                            <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
123
                                        </form>
124
                                    [% ELSIF ((Koha.Preference('AllowRenewalLimitOverride')) && (!Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) %]
125
                                        <form method="post" action="/cgi-bin/koha/circ/renew.pl">
126
                                            <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
127
                                            <input type="hidden" name="override_limit" value="1" />
128
                                            <input type="hidden" name="override_holds" value="1" />
129
                                            <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
130
                                        </form>
131
                                        [% END %]-->
132
                                    
133
                                    [% IF ((!Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1) || ((Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1 ) %]
117
                                    [% IF ((!Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1) || ((Koha.Preference('AllowRenewalLimitOverride')) && ((Koha.Preference('AllowRenewalIfOtherItemsAvailable'))) && can_renew == 1 ) %]
134
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
118
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
135
                                            <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
119
                                            <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
136
- 

Return to bug 18450