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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-9 / +9 lines)
Lines 104-118 Link Here
104
104
105
                            [% ELSIF error == "on_reserve" %]
105
                            [% ELSIF error == "on_reserve" %]
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
109
                                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
110
                                    <input type="hidden" name="barcode" value="[% item.barcode %]"/>
111
                                    <input type="hidden" name="override_limit" value="1" />
112
                                    <input type="hidden" name="override_holds" value="1" />
113
                                    <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
114
                                </form>
115
108
109
                                [% IF (Koha.Preference('AllowRenewalLimitOverride')) && (Koha.Preference('AllowRenewalIfOtherItemsAvailable')) %]
110
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
111
                                        <input type="hidden" name="barcode" value="[% item.barcode %]"/>
112
                                        <input type="hidden" name="override_limit" 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>
115
                                    </form>
116
                                [% END %]
116
                            [% ELSIF error == "patron_restricted" %]
117
                            [% ELSIF error == "patron_restricted" %]
117
118
118
                                <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
119
                                <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
119
- 

Return to bug 18450