/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $payments = Payment::whereUserId($this->user->id)->with('place')->orderBy('date')->get(); return view('client.payment', compact('payments')); }