app/Http/Controllers/recursoshumanos/rrhcontratocontroller.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()
    {
        $empleados = Rrhempleado::where('eliminar', '=', 1)->get();
        $tipocontrato = Rrhtipocontrato::all();
        return view('rhcontratos.create',compact('empleados','tipocontrato'));
    }
public function create ( ) { $ empleados = Rrhempleado :: where ( 'eliminar' , '=' , 1 ) -> get ( ) ; $ tipocontrato = Rrhtipocontrato :: all ( ) ; return view ( 'rhcontratos.create' , compact ( 'empleados' , 'tipocontrato' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .