debug do update

This commit is contained in:
omair saleh
2022-03-29 23:35:27 +08:00
parent 32476afdd4
commit c3cd8ae3a0
2 changed files with 2 additions and 2 deletions
@@ -65,7 +65,7 @@ class ApproveChangeOrderAddressProcessor
$address->owner->addresses()->update(['status' => ApprovalStatus::EXPIRED]);
$appointee = $address->owner->orderRoles()->where('role_id', '=', OrderRoleTypes::ORIGIN_FREIGHT_FORWARDER)->first()->appointee->id;
$appointee === 2 ? $this->updateDoFromVTPortalProcessor->execute($address) : $this->updateDoFromYDPortalProcessor->execute($address);
if($appointee === 2) $this->updateDoFromVTPortalProcessor->execute($address);
}