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

(-)a/C4/Circulation.pm (-3 / +4 lines)
Lines 3216-3224 sub CanBookBeRenewed { Link Here
3216
            || ( $issue->is_overdue and $overduesblockrenewing eq 'blockitem' ) )
3216
            || ( $issue->is_overdue and $overduesblockrenewing eq 'blockitem' ) )
3217
        {
3217
        {
3218
            return ( 0, 'overdue' );
3218
            return ( 0, 'overdue' );
3219
        } elsif ( $finesblockrenewing && $balance > $finesblockrenewing && !$allowfineoverriderenewing ) {
3219
}
3220
            return ( 0, 'too_much_oweing');
3220
elsif ( $finesblockrenewing && $balance > $finesblockrenewing && !$allowfineoverriderenewing ) {
3221
        }
3221
        return ( 0, 'too_much_oweing' );
3222
}
3222
3223
3223
    }
3224
    }
3224
3225
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +1 lines)
Lines 571-577 Circulation: Link Here
571
            - Only allow patrons or staff to renew items if patron has less than
571
            - Only allow patrons or staff to renew items if patron has less than
572
            - pref: FineNoRenewals
572
            - pref: FineNoRenewals
573
              class: currency
573
              class: currency
574
            - [% local_currency %] in fines (leave blank to disable).
574
            - '[% local_currency %] in fines (leave blank to disable).'
575
    Lost item policy:
575
    Lost item policy:
576
        -
576
        -
577
            - By default, set the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> value of an item to
577
            - By default, set the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> value of an item to
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +2 lines)
Lines 1137-1143 Link Here
1137
1137
1138
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
1138
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
1139
        var fines = "[% fines | $Price %]";
1139
        var fines = "[% fines | $Price %]";
1140
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s\nAre you sure you want to renew checkout(s)?").format(fines);
1140
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s").format(fines);
1141
        MSG_CONFIRM_RENEW += _("Are you sure you want to renew checkout(s)?");
1141
1142
1142
        // On-site checkout
1143
        // On-site checkout
1143
        function toggle_onsite_checkout(){
1144
        function toggle_onsite_checkout(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (+2 lines)
Lines 142-149 Link Here
142
142
143
                <li>The patron has a debt of [% balance | $Price %].</li>
143
                <li>The patron has a debt of [% balance | $Price %].</li>
144
                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
144
                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
145
                    [% INCLUDE 'csrf-token.inc' %]
145
                    <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
146
                    <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
146
                    <input type="hidden" name="override_debt" value="1" />
147
                    <input type="hidden" name="override_debt" value="1" />
148
                    <input type="hidden" name="op" value="cud-renew" />
147
                    <button type="submit" class="approve"><i class="fa fa-check"></i>Renew checkout(s)</button>
149
                    <button type="submit" class="approve"><i class="fa fa-check"></i>Renew checkout(s)</button>
148
                </form>
150
                </form>
149
            [% ELSIF error == "on_reserve" %]
151
            [% ELSIF error == "on_reserve" %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +2 lines)
Lines 809-815 Link Here
809
809
810
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
810
        var amountlimit = "[% Koha.Preference('FineNoRenewals') | html %]";
811
        var fines = "[% fines | $Price %]";
811
        var fines = "[% fines | $Price %]";
812
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s\n Are you sure you want to renew checkout(s)?").format(fines);
812
        var MSG_CONFIRM_RENEW = _("The patron has a debt of %s").format(fines);
813
        MSG_CONFIRM_RENEW += _("Are you sure you want to renew checkout(s)?");
813
814
814
        function uncheck_sibling(me){
815
        function uncheck_sibling(me){
815
            nodename=me.getAttribute("name");
816
            nodename=me.getAttribute("name");
816
- 

Return to bug 23415