Skip to content

Commit

Permalink
Merge pull request Expensify#34557 from bernhardoj/fix/34431-shows-am…
Browse files Browse the repository at this point in the history
…ount-when-settled

Fix receipt missing details still shown after the request is paid
  • Loading branch information
bondydaa authored Jan 19, 2024
2 parents ea8960f + c790f4e commit 52adf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function MoneyRequestPreview(props) {
return translate('iou.receiptScanning');
}

if (TransactionUtils.hasMissingSmartscanFields(props.transaction)) {
if (!isSettled && TransactionUtils.hasMissingSmartscanFields(props.transaction)) {
return Localize.translateLocal('iou.receiptMissingDetails');
}

Expand Down

0 comments on commit 52adf77

Please sign in to comment.