wtf? the tax applies but it doesn't? RT#5574
authorjeff <jeff>
Mon, 22 Jun 2009 17:00:57 +0000 (17:00 +0000)
committerjeff <jeff>
Mon, 22 Jun 2009 17:00:57 +0000 (17:00 +0000)
FS/FS/cust_main.pm

index ed16e1b..e7cdd21 100644 (file)
@@ -3085,6 +3085,7 @@ sub _gather_taxes {
 
   unless (@taxclassnums) {
     @taxclassnums = map { $_->taxclassnum }
+                    grep { $_->taxable eq 'Y' }
                     $part_pkg->part_pkg_taxrate('cch', $geocode, $class);
   }
   warn "Found taxclassnum values of ". join(',', @taxclassnums)