summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2010-08-23 19:51:25 +0000
committerjeff <jeff>2010-08-23 19:51:25 +0000
commit0a9b7ad6786deed6f8b8c770d128182c7b9b7097 (patch)
tree7d233a59e6b8fbbb783e94b89184eb297512e593
parentc8cd96b69c9c1ede44c06c04f2703079d1afdf2b (diff)
allow importation of customers with no tax rates
-rw-r--r--FS/FS/cust_main.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index c0fb5d297..520372360 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1790,7 +1790,8 @@ sub check {
# bad idea to disable, causes billing to fail because of no tax rates later
-# unless ( $import ) {
+# except we don't fail any more
+ unless ( $import ) {
unless ( qsearch('cust_main_county', {
'country' => $self->country,
'state' => '',
@@ -1803,7 +1804,7 @@ sub check {
'country' => $self->country,
} );
}
-# }
+ }
$error =
$self->ut_phonen('daytime', $self->country)