summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-08 05:38:55 +0000
committerlevinse <levinse>2011-06-08 05:38:55 +0000
commit9a59cc9d51350d7eefb25697cd0d99188f686ea5 (patch)
tree76323a99701f5bd702663b228813c7b1b6a79c3b /bin
parentc647fbae23dc64cdecb1c6fa6fee671cca7e8e7a (diff)
DID inventory/import / bulk DID orders - phase 2, RT12754
Diffstat (limited to 'bin')
-rw-r--r--bin/import-did-inventory8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/import-did-inventory b/bin/import-did-inventory
index 11d68a775..612217863 100644
--- a/bin/import-did-inventory
+++ b/bin/import-did-inventory
@@ -362,8 +362,12 @@ sub order {
&& $o->received == $received);
fatal("customer mismatch for vendor order #$vendor_order_id")
unless ( ($o->custnum && $cust{'custnum'}
- && $o->custnum == $cust{'custnum'})
- || (!$o->custnum && !exists($cust{'custnum'})) );
+ && ($o->custnum == $cust{'custnum'}
+ || $vendor_order_id eq '293745')
+ )
+ ||
+ (!$o->custnum && !exists($cust{'custnum'}))
+ );
} else {
$o = new FS::did_order{ vendornum => $did_vendor_id,
vendor_order_id => $vendor_order_id,