This commit is contained in:
ivan-sim
2024-10-17 15:09:10 +07:00
parent 8e9492f98b
commit d211bb7924

View File

@@ -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',