view, search dan tambah daily monitoring
This commit is contained in:
@@ -14,15 +14,26 @@ class DailyMonitoringResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
|
||||
$data = [
|
||||
'code' => $this->code,
|
||||
'id' => $this->id,
|
||||
'member_id' => $this->member_id,
|
||||
'member_type' => $this->member_type,
|
||||
'birth_date' => $this->birth_date,
|
||||
'name' => $this->name,
|
||||
'start_date' => $this->startdate,
|
||||
'end_date' => $this->enddate,
|
||||
'addmision_date' => $this->addmision_date,
|
||||
'provider' => $this->provider,
|
||||
'organization_id' => $this->organization_id,
|
||||
'doctor_1' => $this->doctor_1,
|
||||
'doctor_2' => $this->doctor_2,
|
||||
'temp_diagnosis' => $this->temp_diagnosis,
|
||||
'final_diagnosis' => $this->final_diagnosis,
|
||||
'approval_pendamping' => $this->approval_pendamping,
|
||||
'status' => $this->status,
|
||||
'description' => strip_tags($this->description),
|
||||
'note' => strip_tags($this->note),
|
||||
];
|
||||
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user