summaryrefslogtreecommitdiff
path: root/bin/import-did-inventory
diff options
context:
space:
mode:
Diffstat (limited to 'bin/import-did-inventory')
-rw-r--r--bin/import-did-inventory2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/import-did-inventory b/bin/import-did-inventory
index b05c33fb9..a0ffb81ea 100644
--- a/bin/import-did-inventory
+++ b/bin/import-did-inventory
@@ -361,7 +361,7 @@ sub order {
unless ( ( abs($o->submitted-$submitted) < 5
|| $o->vendor_order_id == 293011) # yet another bad data hack
&& abs($o->confirmed-$confirmed) < 5
- && abs($o->received == $received) < 5
+ && abs($o->received-$received) < 5
);
# fatal("customer mismatch for vendor order #$vendor_order_id")
# unless ( ($o->custnum && $cust{'custnum'}