Skip to content

Commit

Permalink
Fix empresa destino clone club
Browse files Browse the repository at this point in the history
  • Loading branch information
elsoftpy committed May 4, 2021
1 parent 161ce5b commit 48ea91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CloneController.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public function cloneClub(Request $request)
$cabecera = $encuesta->replicate();
$cabecera->rubro_id = $request->rubro_id;
$cabecera->periodo = $request->periodo;
$cabecera->empresa_id = $empresa->id;
$cabecera->empresa_id = $empresa->empresa_destino;
$cabecera->save();
$encuestaCargo = $encuesta->encuestasCargo;
foreach($encuestaCargo as $cargo){
Expand Down

0 comments on commit 48ea91c

Please sign in to comment.