summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Action/cust_bill_fee_percent.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Action/cust_bill_fee_percent.pm')
-rw-r--r--FS/FS/part_event/Action/cust_bill_fee_percent.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/cust_bill_fee_percent.pm b/FS/FS/part_event/Action/cust_bill_fee_percent.pm
index c853393..b0397d4 100644
--- a/FS/FS/part_event/Action/cust_bill_fee_percent.pm
+++ b/FS/FS/part_event/Action/cust_bill_fee_percent.pm
@@ -31,6 +31,8 @@ sub do_action {
#my $cust_main = $self->cust_main($cust_bill);
my $cust_main = $cust_bill->cust_main;
+ my $conf = new FS::Conf;
+
my $amount =
sprintf('%.2f', $cust_bill->owed * $self->option('percent') / 100 );
@@ -38,6 +40,7 @@ sub do_action {
'amount' => $amount,
'pkg' => $self->option('reason'),
'taxclass' => $self->option('taxclass'),
+ 'classnum' => $conf->config('finance_pkgclass'),
'setuptax' => $self->option('setuptax'),
);