/** * Display a listing of the resource. * * @return Response */ public function index() { $compensaciones = CompensaRm::where('tipo', 'Externa')->get(); return view('compensa.externa.indexCompensaExterna', compact('compensaciones')); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $compensaciones = CompensaRm::where('tipo', 'Interna')->get(); return view('compensa.proyectos.indexCompensaProyectos', compact('compensaciones')); }