X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FAction%2Ffee.pm;h=a18cc33d12c59fd4046b7b14f23e5d23b3029c7d;hp=f1d5891ac3d8721a269b0e84a1f84fcf3e1d019e;hb=817c1ce0e1cbcfd1f684222c66f46dd13b2d6dd7;hpb=3846acae1c2a7ecb275e400cf3802ada6bc89ed2 diff --git a/FS/FS/part_event/Action/fee.pm b/FS/FS/part_event/Action/fee.pm index f1d5891ac..a18cc33d1 100644 --- a/FS/FS/part_event/Action/fee.pm +++ b/FS/FS/part_event/Action/fee.pm @@ -40,7 +40,7 @@ sub _calc_fee { # they're definitely NOT linear and we haven't yet had a reason to # make that case work. return $total if $self->option('setuptax') eq 'Y' - or FS::Conf->new->exists('enable_taxproducts'); + or FS::Conf->new->config('tax_data_vendor'); # estimate tax rate # false laziness with xmlhttp-calculate_taxes, cust_main::Billing, etc.