@@ -270,14 +239,11 @@ const BillingAccountDetailsContent: FC
= (
{props.budgetInfo
? (
- {formatCurrency(props.budgetInfo.spent)}
- {' / '}
- {formatCurrency(props.budgetInfo.totalBudget)}
- {' spent'}
+ {props.budgetDisplayContent}
)
: undefined}
- {BILLING_ACCOUNT_DETAILS_MODAL_ENABLED
+ {props.showDetailsButton
? (
- )
- : undefined
- const billingAccountModal = isModalOpen && billingAccountDetailsData
- ? (
-