Skip to content

Commit

Permalink
corregir error de actualizacion de cargos
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoftpy committed Sep 20, 2022
1 parent a407441 commit 68767a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Http/Controllers/CargosClientesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ public function update(Request $request, $id){
}
$dbDetalle->fill($fields->toArray());

$dbData->descripcion = $request->descripcion;
if($request->descripcion){
$dbData->descripcion = $request->descripcion;
}


//dd($dbDetalle);
if($request->excluir){
Expand Down

0 comments on commit 68767a7

Please sign in to comment.