app/Http/Controllers/recursoshumanos/rrhempleadocontroller.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $action = "new";
        $cantons = Canton::all();
        $cargos = Rrhcargo::all();
        $profesiones = Rrhprofesion::all();
        $areas = Rrharea::all();
        return view('rhempleados.create', compact('cantons', 'action','cargos','profesiones','areas'));
    }
public function create ( ) { $ action = " new " ; $ cantons = Canton :: all ( ) ; $ cargos = Rrhcargo :: all ( ) ; $ profesiones = Rrhprofesion :: all ( ) ; $ areas = Rrharea :: all ( ) ; return view ( 'rhempleados.create' , compact ( 'cantons' , 'action' , 'cargos' , 'profesiones' , 'areas' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//$clientes = Cliente::where('eliminar','=',1)->get();