[freeside-commits] branch 21563 updated. 56094325213b403e787bbfce7f3db7870b707173
Ivan
ivan at 420.am
Wed May 8 03:31:36 PDT 2013
The branch, 21563 has been updated
via 56094325213b403e787bbfce7f3db7870b707173 (commit)
from 9732b34df2fad5f09751766378c05eacd671e4fb (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 56094325213b403e787bbfce7f3db7870b707173
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed May 8 03:31:32 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