Lines 493-499
Link Here
|
493 |
# (i.e. , of accounttype 'FU'). Doing so will break accrual. |
493 |
# (i.e. , of accounttype 'FU'). Doing so will break accrual. |
494 |
if ( $data->{'amount'} != $amount ) { |
494 |
if ( $data->{'amount'} != $amount ) { |
495 |
my $diff = $amount - $data->{'amount'}; |
495 |
my $diff = $amount - $data->{'amount'}; |
496 |
$diff = 0 if ( $data->{amount} > $amount); |
496 |
#Commented for BUG 3341 |
|
|
497 |
#$diff = 0 if ( $data->{amount} > $amount); |
497 |
my $out = $data->{'amountoutstanding'} + $diff; |
498 |
my $out = $data->{'amountoutstanding'} + $diff; |
498 |
my $query = " |
499 |
my $query = " |
499 |
UPDATE accountlines |
500 |
UPDATE accountlines |