public function pay($billet_id) { $date = Request::only('discharge_date'); if (is_null($date)) { $date = Carbon::now(); } else { $date = Carbon::parse($date['discharge_date']); } return $this->repo->pay($billet_id, $date); }