[freeside-commits] branch FREESIDE_2_3_BRANCH updated. b475ac28dcf56af7cb85d6a8471b8b4baf6130cd
Ivan
ivan at 420.am
Wed May 8 03:31:41 PDT 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via b475ac28dcf56af7cb85d6a8471b8b4baf6130cd (commit)
from a156ba5a5fa5b9b98fa480543f61f74c6c638a83 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b475ac28dcf56af7cb85d6a8471b8b4baf6130cd
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed May 8 03:31:38 2013 -0700
debug CCH update replacing a TAXCAT, RT#21687
diff --git a/FS/FS/tax_class.pm b/FS/FS/tax_class.pm
index 15f9a42..376a1ad 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;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/tax_class.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list