diff --git a/packages/esm-billing-app/src/billable-services/billiable-item/test-order/test-order-action.component.tsx b/packages/esm-billing-app/src/billable-services/billiable-item/test-order/test-order-action.component.tsx index a1d8cd53..82919bcd 100644 --- a/packages/esm-billing-app/src/billable-services/billiable-item/test-order/test-order-action.component.tsx +++ b/packages/esm-billing-app/src/billable-services/billiable-item/test-order/test-order-action.component.tsx @@ -89,9 +89,9 @@ const TestOrderAction: React.FC = React.memo((props) => { const buttonText = hasPendingPayment ? t('unsettledBill', 'Unsettled bill.') - : actionText ?? Object.hasOwn(props, 'medicationRequestBundle') - ? t('dispense', 'Dispense') - : t('pickLabRequest', 'Pick Lab Request'); + : Object.hasOwn(props, 'medicationRequestBundle') + ? actionText ?? t('dispense', 'Dispense') + : actionText ?? t('pickLabRequest', 'Pick Lab Request'); return (