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

(-)a/C4/Overdues.pm (-2 / +1 lines)
Lines 574-580 sub UpdateFine { Link Here
574
        # we're updating an existing fine.  Only modify if amount changed
574
        # we're updating an existing fine.  Only modify if amount changed
575
        # Note that in the current implementation, you cannot pay against an accruing fine
575
        # Note that in the current implementation, you cannot pay against an accruing fine
576
        # (i.e. , of accounttype 'FU').  Doing so will break accrual.
576
        # (i.e. , of accounttype 'FU').  Doing so will break accrual.
577
        if ( $data->{'amount'} != $amount ) {
577
        if ( $data->{'amount'} ne sprintf('%.6f', $amount) ) {
578
            my $accountline = Koha::Account::Lines->find( $data->{accountlines_id} );
578
            my $accountline = Koha::Account::Lines->find( $data->{accountlines_id} );
579
            my $diff = $amount - $data->{'amount'};
579
            my $diff = $amount - $data->{'amount'};
580
580
581
- 

Return to bug 17138