mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
delete 1688 purchase order for special customers
This commit is contained in:
@@ -84,7 +84,9 @@ class UploadPurchaseOrderLogic extends AbstractControllerLogic
|
||||
|
||||
$this->createsFile->execute($document, $object);
|
||||
|
||||
$this->createPurchaseOrderFor1688OrderProcessor->execute($booking);
|
||||
if(in_array($booking->company->id, [199, 510])){
|
||||
$this->createPurchaseOrderFor1688OrderProcessor->execute($booking);
|
||||
}
|
||||
|
||||
return $this->response([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user