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

(-)a/circ/renew.pl (-1 / +1 lines)
Lines 69-75 if ($barcode) { Link Here
69
            $borrower = $issue->borrower();
69
            $borrower = $issue->borrower();
70
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
70
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
71
            $balance = $patron->account->balance;
71
            $balance = $patron->account->balance;
72
            my $amountlimit = C4::Context->preference("noissuescharge");
72
            my $amountlimit = C4::Context->preference("OPACFineNoRenewals");
73
73
74
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
74
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
75
                my $can_renew;
75
                my $can_renew;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +2 lines)
Lines 597-603 OPAC: Link Here
597
            - Only allow patrons to renew their own books on the OPAC if they have less than
597
            - Only allow patrons to renew their own books on the OPAC if they have less than
598
            - pref: OPACFineNoRenewals
598
            - pref: OPACFineNoRenewals
599
              class: currency
599
              class: currency
600
            - '[% local_currency %] in fines (leave blank to disable).'
600
            - '[% local_currency %] in fines (leave blank to disable).
601
            - <br /><strong>NOTE:</strong> If set, confirmation dialog is shown when renewing for patron with fines from staff interface.'
601
        -
602
        -
602
            - pref: OPACFineNoRenewalsIncludeCredits
603
            - pref: OPACFineNoRenewalsIncludeCredits
603
              choices:
604
              choices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 1147-1153 Link Here
1147
1147
1148
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1148
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1149
1149
1150
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
1150
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
1151
        var fines = "[% fines | html %]";
1151
        var fines = "[% fines | html %]";
1152
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1152
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1153
1153
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +1 lines)
Lines 965-971 Link Here
965
965
966
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
966
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
967
967
968
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
968
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
969
        var fines = "[% fines | html %]";
969
        var fines = "[% fines | html %]";
970
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
970
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
971
971
972
- 

Return to bug 23415