Update Doctors
This commit is contained in:
@@ -23,6 +23,7 @@ class PractitionerRoleToDoctorDetailResource extends JsonResource
|
||||
'gender' => $this->practitioner->person->gender ?? null,
|
||||
'speciality_name' => !empty($this->speciality->name ?? null) ? 'Spesialis '. $this->speciality->name : 'Spesialis Empty',
|
||||
'is_online' => false,
|
||||
'is_insurance_covered' => rand(0,1) == 1,
|
||||
'price_range' => 'Rp 100.000 - Rp 350.000',
|
||||
'price_start' => '100000',
|
||||
'price_end' => '350000',
|
||||
@@ -32,7 +33,7 @@ class PractitionerRoleToDoctorDetailResource extends JsonResource
|
||||
'award' => $this->meta->award ?? '',
|
||||
'work_experience' => $this->meta->work_experience ?? '',
|
||||
'keilmuan' => $this->meta->keilmuan ?? '',
|
||||
'description' => $this->meta->description ?? ''
|
||||
'description' => $this->meta->description ?? '',
|
||||
];
|
||||
|
||||
return parent::toArray($request);
|
||||
|
||||
Reference in New Issue
Block a user