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

(-)a/C4/Overdues.pm (-2 / +2 lines)
Lines 540-547 sub UpdateFine { Link Here
540
                next;
540
                next;
541
            }
541
            }
542
        }
542
        }
543
        $total_amount_other += $rec->{'amount'};
543
        $total_amount_other += $rec->{'amountoutstanding'};
544
    }
544
    }
545
545
    if (my $maxfine = C4::Context->preference('MaxFine')) {
546
    if (my $maxfine = C4::Context->preference('MaxFine')) {
546
        if ($total_amount_other + $amount > $maxfine) {
547
        if ($total_amount_other + $amount > $maxfine) {
547
            my $new_amount = $maxfine - $total_amount_other;
548
            my $new_amount = $maxfine - $total_amount_other;
548
- 

Return to bug 10030