diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-05-08 03:31:38 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-05-08 03:31:38 -0700 |
| commit | b475ac28dcf56af7cb85d6a8471b8b4baf6130cd (patch) | |
| tree | 15c1596735412fb1fbaf2c57d2c331c591735130 | |
| parent | a156ba5a5fa5b9b98fa480543f61f74c6c638a83 (diff) | |
debug CCH update replacing a TAXCAT, RT#21687
| -rw-r--r-- | FS/FS/tax_class.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/tax_class.pm b/FS/FS/tax_class.pm index 15f9a42a6..376a1ad40 100644 --- a/FS/FS/tax_class.pm +++ b/FS/FS/tax_class.pm @@ -169,7 +169,7 @@ sub batch_import { $hook = sub { my $hash = shift; - +warn Dumper($hash); if ($hash->{'table'} eq 'DETAIL') { push @{$data->{'taxcat'}}, [ $hash->{'value'}, $hash->{'description'} ] if ($hash->{'name'} eq 'TAXCAT' && @@ -194,6 +194,7 @@ sub batch_import { ($name eq 'TAXCAT' ? $value : '%')."'", ); foreach (@tax_class) { +warn "deleting ". $_->taxclass. ' '. $_->description. "\n"; my $error = $_->delete; return $error if $error; } |
