Fix: searchRecord vehicle y vehicle.owner
This commit is contained in:
parent
9b37989f0a
commit
80c0076a92
@ -327,8 +327,8 @@ public function searchRecord(Request $request)
|
||||
]);
|
||||
|
||||
$records = Record::with([
|
||||
'vehicle:id,owner_id,placa,niv,marca,linea,modelo,color',
|
||||
'vehicle.owner:id,name,paternal,maternal,rfc',
|
||||
'vehicle',
|
||||
'vehicle.owner',
|
||||
'vehicle.tag:id,vehicle_id,folio,tag_number,status_id',
|
||||
'vehicle.tag.status:id,code,name',
|
||||
'files:id,record_id,name_id,path,md5',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user