Add Length_of_work_year
This commit is contained in:
@@ -50,9 +50,10 @@ class DoctorResource extends JsonResource
|
||||
'award' => $this->meta->award ?? '',
|
||||
'work_experience' => $this->meta->work_experience ?? '',
|
||||
'keilmuan' => $this->meta->keilmuan ?? '',
|
||||
'length_of_work_year' => rand(1, 10),
|
||||
'description' => $this->meta->description ?? '',
|
||||
'practices' => $practices,
|
||||
'rating' => rand(350, 500) / 100,
|
||||
'rating' => rand(88, 100),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,8 +34,9 @@ class PractitionerRoleToDoctorDetailResource extends JsonResource
|
||||
'award' => $this->meta->award ?? '',
|
||||
'work_experience' => $this->meta->work_experience ?? '',
|
||||
'keilmuan' => $this->meta->keilmuan ?? '',
|
||||
'length_of_work_year' => rand(1, 10),
|
||||
'description' => $this->meta->description ?? '',
|
||||
'rating' => rand(350, 500) / 100,
|
||||
'rating' => rand(88, 100),
|
||||
|
||||
'is_chat_available' => $this->is_chat_available,
|
||||
'is_video_available' => $this->is_video_available,
|
||||
|
||||
@@ -52,7 +52,8 @@ class PractitionerRoleToDoctorResource extends JsonResource
|
||||
'avatar_url' => asset('images/default-doctor-avatar.png'),
|
||||
'hospital' => $organization,
|
||||
'speciality' => $speciality,
|
||||
'rating' => rand(350, 500) / 100,
|
||||
'rating' => rand(88, 100),
|
||||
'length_of_work_year' => rand(1, 10),
|
||||
|
||||
'is_chat_available' => $this->is_chat_available,
|
||||
'is_video_available' => $this->is_video_available,
|
||||
|
||||
Reference in New Issue
Block a user