From: ivan Date: Fri, 28 Jun 2002 20:21:35 +0000 (+0000) Subject: better error message for missing tax classes X-Git-Tag: freeside_1_4_0_beta1~46 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6d295788b1c6bfb1c96c8917043a1b209c8491e1 better error message for missing tax classes --- 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 ) {