diff --git a/scripts/import_customers_from_ivt.php b/scripts/import_customers_from_ivt.php index a9d59da84..f80a27b15 100644 --- a/scripts/import_customers_from_ivt.php +++ b/scripts/import_customers_from_ivt.php @@ -24,8 +24,8 @@ foreach(IvtCustomerModel::getAll() as $cust) { if(!$cust->id) { continue; } - foreach(['deleted', 'deletet'] as $word) { - if(strtolower($cust->company) == $word || strtolower($cust->surname) == $word) { + foreach(['deleted', 'deletet', 'deleded', 'delete'] as $word) { + if(strtolower($cust->company) == $word || strtolower($cust->surname) == $word || strtolower($cust->firnstmae) == $word) { continue 2; } }