/** * Display a listing of the resource. * * @return Response */ public function index() { $payments = Payment::payment(); $payments_table = Payment::payment_table(); $revenue_dia = Payment::revenue_dia(); $revenue = Payment::revenue(); $solicitudes = Payment::solicitar(); $revenue_total = Payment::revenue_total(); return view('client.payment', compact('payments', 'revenue_dia', 'revenue_total', 'solicitudes', 'revenue', 'payments_table')); }