Correcion actas (fecha y id_estandar)

This commit is contained in:
cgonzalesmo 2022-12-22 22:59:53 -05:00
parent a215a8412d
commit cded6112ec

View File

@ -81,8 +81,8 @@ public function update(Request $request)
$validator = Validator::make($request->all(), [
'id' => 'required|exists:actas,id',
'descripcion' => 'present',
'fecha' => 'present',
'id_estandar' => 'present|exists:estandars,id',
'fecha' => 'sometimes',
'id_estandar' => 'sometimes|exists:estandars,id',
]);
$acta = Acta::find($request->id);