Fix Seeder
This commit is contained in:
@@ -20,8 +20,8 @@ class CorporateServiceConfigResource extends JsonResource
|
||||
'corporate_id' => $this->corporate_id,
|
||||
'service_code' => $this->service_code,
|
||||
'status' => $this->status,
|
||||
'name' => $this->service->name,
|
||||
'description' => $this->service->description,
|
||||
'name' => $this->service->name ?? '-',
|
||||
'description' => $this->service->description ?? '-',
|
||||
'configurations' => $this->configs->pluck('value', 'name'),
|
||||
'selected_specialities' => $this->corporateServiceSpecialities->where('active', true)->pluck('speciality.name', 'speciality_id'),
|
||||
'exclusions' => $this->corporateServiceSpecialities->map(function ($speciality) {
|
||||
|
||||
Reference in New Issue
Block a user