fix: actualizar datos del expediente
This commit is contained in:
parent
43c1400e7c
commit
392b155367
@ -848,6 +848,8 @@ public function updateData(VehicleUpdateRequest $request, $id)
|
|||||||
|
|
||||||
// Si no existe, actualizar el RFC del propietario actual
|
// Si no existe, actualizar el RFC del propietario actual
|
||||||
$owner->update($ownerData);
|
$owner->update($ownerData);
|
||||||
|
} else {
|
||||||
|
$owner->update($ownerData); // ← Debe estar AQUÍ
|
||||||
}
|
}
|
||||||
$hasOwnerChanges = true;
|
$hasOwnerChanges = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user