- && $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'}))