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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-9 / +16 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
                                [% 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
                            [% ELSIF error == "patron_restricted" %]
124
                            [% ELSIF error == "patron_restricted" %]
117
125
118
                                <p>[% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) is currently restricted.</p>
126
                                <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