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

(-)a/circ/renew.pl (-1 / +1 lines)
Lines 67-73 if ($barcode) { Link Here
67
            $borrower = $issue->patron();
67
            $borrower = $issue->patron();
68
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
68
            my $patron = Koha::Patrons->find($borrower->borrowernumber);
69
            $balance = $patron->account->balance;
69
            $balance = $patron->account->balance;
70
            my $amountlimit = C4::Context->preference("noissuescharge");
70
            my $amountlimit = C4::Context->preference("OPACFineNoRenewals");
71
71
72
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
72
            if ( ( $borrower->debarred() || q{} ) lt dt_from_string()->ymd() ) {
73
                my $can_renew;
73
                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 1076-1082 Link Here
1076
1076
1077
        [% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %]
1077
        [% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %]
1078
1078
1079
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
1079
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
1080
        var fines = "[% fines | html %]";
1080
        var fines = "[% fines | html %]";
1081
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1081
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1082
1082
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +1 lines)
Lines 876-882 Link Here
876
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
876
        table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
877
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
877
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
878
878
879
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
879
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
880
        var fines = "[% fines | html %]";
880
        var fines = "[% fines | html %]";
881
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
881
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
882
882
883
- 

Return to bug 23415