diff --git a/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx b/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx index 02fce5c7..1a13577a 100644 --- a/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx +++ b/frontend/hospital-portal/src/sections/dashboardApotek/TableList.tsx @@ -289,12 +289,13 @@ export default function TableList() { label: localeData.txtPrescriptionPharmacy, isSort: true, }, - { + // Conditionally include button_accept if the role is 'admin-apotek' + ...(formattedRoleName === 'cs-lms' ? [{ id: 'phone_apotek', align: 'center', label: localeData.txtPrescriptionPharmacyPhone, - isSort: true, - }, + isSort: false, + }] : []), { id: 'status', align: 'center',