delete 1688 purchase order for special customers

This commit is contained in:
omair saleh
2022-11-03 12:23:49 +08:00
parent a632bc797a
commit ca06fd03d5
@@ -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([]);
}