$appointment->getRouteKey(), 'id' => $appointment->id, 'department_id' => $appointment->department_id, 'faculty_id' => $appointment->faculty_id, 'slug' => $appointment->slug, 'name' => $appointment->name, 'last_name' => $appointment->last_name, 'email' => $appointment->email, 'address' => $appointment->address, 'city' => $appointment->city, 'state' => $appointment->state, 'booking_time' => $appointment->booking_time, 'gender' => $appointment->gender, 'description' => $appointment->description, 'files' => $appointment->files, 'deleted_at' => $appointment->deleted_at, 'created_at' => $appointment->created_at, 'updated_at' => $appointment->updated_at, 'status' => trans('app.'.$appointment->status), 'created_at' => format_date($appointment->created_at), 'updated_at' => format_date($appointment->updated_at), ]; } }