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

(-)a/circ/renew.pl (-1 / +1 lines)
Lines 68-74 if ($barcode) { Link Here
68
            $borrower = $issue->borrower();
68
            $borrower = $issue->borrower();
69
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
69
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
70
            $balance = $patron->account->balance;
70
            $balance = $patron->account->balance;
71
            my $amountlimit = C4::Context->preference("noissuescharge");
71
            my $amountlimit = C4::Context->preference("OPACFineNoRenewals");
72
72
73
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
73
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
74
                my $can_renew;
74
                my $can_renew;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +1 lines)
Lines 593-599 OPAC: Link Here
593
            - Only allow patrons to renew their own books on the OPAC if they have less than
593
            - Only allow patrons to renew their own books on the OPAC if they have less than
594
            - pref: OPACFineNoRenewals
594
            - pref: OPACFineNoRenewals
595
              class: currency
595
              class: currency
596
            - '[% local_currency %] in fines (leave blank to disable).'
596
            - '[% local_currency %] in fines (leave blank to disable). If set, confirmation dialog is shown when renewing for patron with fines.'
597
        -
597
        -
598
            - pref: OPACFineNoRenewalsIncludeCredits
598
            - pref: OPACFineNoRenewalsIncludeCredits
599
              choices:
599
              choices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 1095-1101 Link Here
1095
1095
1096
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1096
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1097
1097
1098
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
1098
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
1099
        var fines = "[% fines | html %]";
1099
        var fines = "[% fines | html %]";
1100
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1100
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1101
1101
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +1 lines)
Lines 953-959 Link Here
953
953
954
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
954
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
955
955
956
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
956
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
957
        var fines = "[% fines | html %]";
957
        var fines = "[% fines | html %]";
958
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
958
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
959
959
960
- 

Return to bug 23415