payment api

This commit is contained in:
2024-04-22 11:26:00 +07:00
parent fe486b1593
commit a424721d89
9 changed files with 506 additions and 24 deletions

View File

@@ -209,6 +209,7 @@ class HomeResource extends JsonResource
}
}
$data = [
'id' => $doctor['id'],
'full_name' => $doctor['person']['name'],
'specialist' => $specialist,
'experience' => $year,
@@ -270,28 +271,12 @@ class HomeResource extends JsonResource
'message' => $wellcome,
'full_name' => $this->sFirstName . ' '. $this->sLastName,
'avatar' => $avatar,
// 'member_type' => $this->nIDUser ? 'Dependent' : 'Principal',
// 'member_profile' => $dataMemberProfile,
'member_id' => $memberId,
'linking' => $linking,
'doctors_livechat' => [
$doctorsLivechat
],
'hospital' => $hospitalList
// [
// [
// 'name' => 'PRIMAYA HOSPITAL NORTH BEKASI',
// 'image' => '',
// 'range' => 6
// ],
// [
// 'name' => 'PRIMAYA HOSPITAL TANGERANG',
// 'image' => '',
// 'range' => 10
// ],
// ]
];
}
}