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 635-641 OPAC: Link Here
635
            - Only allow patrons to renew their own books on the OPAC if they have less than
635
            - Only allow patrons to renew their own books on the OPAC if they have less than
636
            - pref: OPACFineNoRenewals
636
            - pref: OPACFineNoRenewals
637
              class: currency
637
              class: currency
638
            - '[% local_currency %] in fines (leave blank to disable).'
638
            - '[% local_currency %] in fines (leave blank to disable). If set, confirmation dialog is shown when renewing for patron with fines.'
639
        -
639
        -
640
            - pref: OPACFineNoRenewalsIncludeCredits
640
            - pref: OPACFineNoRenewalsIncludeCredits
641
              choices:
641
              choices:
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 1079-1085 Link Here
1079
1079
1080
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1080
        [% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
1081
1081
1082
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
1082
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
1083
        var fines = "[% fines | html %]";
1083
        var fines = "[% fines | html %]";
1084
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1084
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
1085
1085
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-2 / +1 lines)
Lines 915-921 Link Here
915
915
916
        columns_settings_issues_table = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
916
        columns_settings_issues_table = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
917
917
918
        var amountlimit = "[% Koha.Preference('noissuescharge') | html %]";
918
        var amountlimit = "[% Koha.Preference('OPACFineNoRenewals') | html %]";
919
        var fines = "[% fines | html %]";
919
        var fines = "[% fines | html %]";
920
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
920
        var MSG_CONFRIM_RENEW = _("The patron has a debt of %s.\n Are you sure you want to renew checkout(s)?").format(fines);
921
921
922
- 

Return to bug 23415