/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { // $camposbase = CampoBase::all(); $unidadesMedida = UnidadMedida::all(); return view('backend.estudios.create', compact('camposbase', 'unidadesMedida')); }
/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { // $unidadesMedida = UnidadMedida::all(); return view('backend.estudios.camposBase.create', compact('unidadesMedida')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //Muestra todas las unidades de medida $unidadesMedida = UnidadMedida::all(); return view('backend.estudios.unidadesmedida.index', compact('unidadesMedida')); }