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

(-)a/Koha/Account.pm (-2 / +1 lines)
Lines 203-209 sub pay { Link Here
203
        # If we need to make a note of the item associated with this line,
203
        # If we need to make a note of the item associated with this line,
204
        # in order that we can potentially renew it, do so.
204
        # in order that we can potentially renew it, do so.
205
        my $amt = $old_amountoutstanding - $amount_to_pay;
205
        my $amt = $old_amountoutstanding - $amount_to_pay;
206
        if ($fine->renewable) {
206
        if ( C4::Context->preference('RenewAccruingItemWhenPaid') && $fine->renewable ) {
207
            my $outcome = $fine->renew_item;
207
            my $outcome = $fine->renew_item;
208
            push @{$renew_outcomes}, $outcome;
208
            push @{$renew_outcomes}, $outcome;
209
        }
209
        }
210
- 

Return to bug 25508