From 492bdf6cc6b97d2d338cee807afde2c5e8a7e3a5 Mon Sep 17 00:00:00 2001 From: ivan-sim Date: Wed, 8 Apr 2026 10:31:23 +0700 Subject: [PATCH] Update Serice member bug --- .../src/sections/dashboard/DetailRequestFinalLog.tsx | 2 +- .../hospital-portal/src/sections/dashboard/Model/Types.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/hospital-portal/src/sections/dashboard/DetailRequestFinalLog.tsx b/frontend/hospital-portal/src/sections/dashboard/DetailRequestFinalLog.tsx index 4149596b..98ee7903 100644 --- a/frontend/hospital-portal/src/sections/dashboard/DetailRequestFinalLog.tsx +++ b/frontend/hospital-portal/src/sections/dashboard/DetailRequestFinalLog.tsx @@ -299,7 +299,7 @@ export default function DetailRequestFinalLog() { if (!requestLog?.id && !Log_id) return axios - .get('service-member/' + (requestLog?.id ?? Log_id)) + .get('service-member/' + requestLog?.id_member) .then((res) => setServiceOptions(res.data)) .catch(console.error) diff --git a/frontend/hospital-portal/src/sections/dashboard/Model/Types.ts b/frontend/hospital-portal/src/sections/dashboard/Model/Types.ts index cb9081c1..15af824a 100644 --- a/frontend/hospital-portal/src/sections/dashboard/Model/Types.ts +++ b/frontend/hospital-portal/src/sections/dashboard/Model/Types.ts @@ -35,6 +35,10 @@ export type DetailFinalLogType = { id : number, code : string, member_id : string, + id_member : string, + service_code : string, + specialitiesID : any, + dppj : any, invoice_no : string, billing_no : string, provider : string,