Update Doctors

This commit is contained in:
R
2022-09-20 10:57:10 +07:00
parent 07bfbaefe0
commit d187b9331d
7 changed files with 88 additions and 14 deletions

View File

@@ -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);