/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $egresosR = Egresos::all(); return view('reportes/egresos', compact('egresosR')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $lst_tipo_egresos = TipoEgresos::lists('tipo_egreso', 'id'); $egresos = Egresos::all(); return view('egresos.index', compact('lst_tipo_egresos', 'egresos')); }