Skip to content

Commit

Permalink
translate purchase bill status key
Browse files Browse the repository at this point in the history
  • Loading branch information
lakchote committed May 7, 2024
1 parent 389e0de commit 224b394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function XeroExportConfigurationPage({policy}: WithPolicyConnectionsProps) {
{
description: translate('workspace.xero.advancedConfig.purchaseBillStatusTitle'),
onPress: () => {},
title: exportConfiguration?.billStatus?.purchase,
title: exportConfiguration?.billStatus?.purchase ? translate(`workspace.xero.invoiceStatus.values.${exportConfiguration.billStatus.purchase}`) : undefined,
pendingAction: pendingFields?.export,
error: errorFields?.purchase ? translate('common.genericErrorMessage') : undefined,
},
Expand Down

0 comments on commit 224b394

Please sign in to comment.