mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-29 17:34:25 +00:00
WIP - Order steps & remaining APIs
This commit is contained in:
@@ -35,9 +35,9 @@ class CreateOrderStepsProcessor
|
||||
$this->fetchesOrderSteps = $fetchesOrderSteps;
|
||||
}
|
||||
|
||||
public function execute(Model $order, string $currentStep){
|
||||
public function execute(Model $order, string $currentStep, $appointee_id){
|
||||
|
||||
$order_steps_object = new OrderStepsObject($order->id, $order->company_module_id, $currentStep, true, 0, OrderStatus::PROCESSING, 0, null);
|
||||
$order_steps_object = new OrderStepsObject($order->id, $appointee_id, $currentStep, true, 0, OrderStatus::PROCESSING, 0, null);
|
||||
|
||||
$this->canCreateOrderStep->passes($order_steps_object);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user