1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

Update RetailCrmService.php

This commit is contained in:
DmitreyZl 2020-09-04 15:03:48 +03:00 committed by GitHub
parent d64dd971d3
commit 8eae088d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,28 +12,37 @@ class RetailCrmService
unset($order['height']);
unset($order['length']);
unset($order['width']);
unset($order['weight']);
unset($order['phone']);
unset($order['delivery']['cost']);
unset($order['shipmentStore']);
unset($order['delivery']['address']);
unset($order['delivery']['data']);
break;
case "dpd":
unset($order['manager']);
unset($order['firstName']);
unset($order['lastName']);
unset($order['weight']);
unset($order['phone']);
unset($order['delivery']['cost']);
unset($order['shipmentStore']);
unset($order['delivery']['address']);
unset($order['delivery']['data']);
break;
case "newpost":
unset($order['customer']);
unset($order['weight']);
unset($order['phone']);
unset($order['delivery']['cost']);
unset($order['shipmentStore']);
unset($order['delivery']['address']);
unset($order['delivery']['data']);
break;
default:
unset($order['firstName']);
unset($order['lastName']);
break;
}
unset($order['weight']);
unset($order['phone']);
unset($order['delivery']['cost']);
unset($order['shipmentStore']);
unset($order['delivery']['address']);
unset($order['delivery']['data']);
}
return $order;
}
}