feat: Add product specifications, order details, and VM information to the service client detail resource and eager load related data.
This commit is contained in:
@@ -47,7 +47,11 @@ class ServiceClientRepository extends BaseApiRepository implements ServiceClient
|
||||
public function getDetailService(string $uuid)
|
||||
{
|
||||
return $this->model
|
||||
->with(['orderItem.os.osGroup.host.datacenter.vCenter'])
|
||||
->with([
|
||||
'orderItem.os.osGroup',
|
||||
'orderItem.product',
|
||||
'orderItem.order.vmWare.ipAddress',
|
||||
])
|
||||
->where('uuid', $uuid)
|
||||
->first();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user