From: levinse Date: Mon, 13 Jun 2011 18:26:42 +0000 (+0000) Subject: DID inventory/import / bulk DID orders - phase 2, RT12754 X-Git-Tag: freeside_2_3_0~141 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9efeffca8eaca6af69f73f7e23855e7b26520dcb DID inventory/import / bulk DID orders - phase 2, RT12754 --- diff --git a/bin/import-did-inventory b/bin/import-did-inventory index d2086a5f3..6a1a817f1 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -360,14 +360,14 @@ sub order { || $o->vendor_order_id == 293011) # yet another bad data hack && $o->confirmed == $confirmed && $o->received == $received); - fatal("customer mismatch for vendor order #$vendor_order_id") - unless ( ($o->custnum && $cust{'custnum'} - && ($o->custnum == $cust{'custnum'} - || $vendor_order_id eq '293745' || $vendor_order_id eq '300001') - ) - || - (!$o->custnum && !exists($cust{'custnum'})) - ); +# fatal("customer mismatch for vendor order #$vendor_order_id") +# unless ( ($o->custnum && $cust{'custnum'} +# && ($o->custnum == $cust{'custnum'} +# || $vendor_order_id eq '293745' || $vendor_order_id eq '300001') +# ) +# || +# (!$o->custnum && !exists($cust{'custnum'})) +# ); } else { $o = new FS::did_order{ vendornum => $did_vendor_id, vendor_order_id => $vendor_order_id,