mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Created contract at Unity
This commit is contained in:
@@ -26,7 +26,7 @@ class ConfirmOrderProcessor
|
||||
$this->fetchesOrder = $fetchesOrder;
|
||||
}
|
||||
|
||||
public function execute(int $orderId){
|
||||
public function execute(int $orderId, array $contract_obligation_list = []){
|
||||
|
||||
$order_object = new OrderObject(0,'','',0,0, '',$orderId);
|
||||
|
||||
@@ -34,7 +34,7 @@ class ConfirmOrderProcessor
|
||||
|
||||
$order = $this->fetchesOrder->execute(['id'=>$order_object->getId()]);
|
||||
|
||||
$this->generateOrderStepsProcessor->execute($order);
|
||||
$this->generateOrderStepsProcessor->execute($order, $contract_obligation_list);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user