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 1129-1135 Link Here
1129
1129
1130
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1130
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1131
1131
1132
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
1132
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
1133
        var fines = "[% fines | html %]";
1133
        var fines = "[% fines | html %]";
1134
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1134
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1135
1135
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +1 lines)
Lines 946-952 Link Here
946
946
947
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
947
        columns_settings_issues_table = [% TablesSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
948
948
949
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
949
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
950
        var fines = "[% fines | html %]";
950
        var fines = "[% fines | html %]";
951
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
951
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
952
952
953
- 

Return to bug 23415