X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county-expand.cgi;h=f56d31941b4d5e846f8a816db145beb2e850244d;hb=1c27ee0bb757186752fb3f88d6b71c6bb1dfd9b1;hp=01f0c1e0c26dd17b158bcbc5721b3db7d35efc96;hpb=3c8870ee619416f126a65c93d5ef7a2f2e24bc96;p=freeside.git diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi index 01f0c1e0c..f56d31941 100755 --- a/httemplate/edit/cust_main_county-expand.cgi +++ b/httemplate/edit/cust_main_county-expand.cgi @@ -19,7 +19,11 @@ % %my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum}) % or die "cust_main_county.taxnum $taxnum not found"; -%die "Can't expand entry!" if $cust_main_county->getfield('county'); +%if ( $taxclass ) { +% die "Can't expand entry!" if $cust_main_county->getfield('taxclass'); +%} else { +% die "Can't expand entry!" if $cust_main_county->getfield('county'); +%} % %my $p1 = popurl(1); %print header("Tax Rate (expand)", menubar(