summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-06-28 20:21:35 +0000
committerivan <ivan>2002-06-28 20:21:35 +0000
commit6d295788b1c6bfb1c96c8917043a1b209c8491e1 (patch)
treeacb818dca6b67acb3d275fc1d6b76617d7bd44dc
parent11deba5ca03afd00c0450bc4e0b9345e87e08829 (diff)
better error message for missing tax classes
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index efe94027d..9ed3f2cab 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1053,8 +1053,8 @@ sub bill {
$dbh->rollback if $oldAutoCommit;
return
"fatal: can't find tax rate for state/county/country/taxclass ".
- join('/', map $self->$_(), qw(state county country taxclass) ).
- "\n";
+ join('/', ( map $self->$_(), qw(state county country) ),
+ $part_pkg->taxclass ). "\n";
};
if ( $cust_main_county->exempt_amount ) {