diff options
-rw-r--r-- | FS/FS/part_event/Action/cust_bill_fee_greater_percent_or_flat.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Action/cust_bill_fee_greater_percent_or_flat.pm b/FS/FS/part_event/Action/cust_bill_fee_greater_percent_or_flat.pm index 13f886ab1..558f5cdf2 100644 --- a/FS/FS/part_event/Action/cust_bill_fee_greater_percent_or_flat.pm +++ b/FS/FS/part_event/Action/cust_bill_fee_greater_percent_or_flat.pm @@ -29,7 +29,7 @@ sub _calc_fee { my $num = $flat_fee - $percent; if ($num == 0) { return($percent); - } + } elsif ($num > 0) { return($flat_fee); } |