From b9c5785a199097337a507e9f74292f95246b17ae Mon Sep 17 00:00:00 2001 From: ahmedGaber93 Date: Tue, 19 Sep 2023 02:03:44 +0200 Subject: [PATCH] fix issue 27333 --- src/components/ReportActionItem/MoneyRequestView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ReportActionItem/MoneyRequestView.js b/src/components/ReportActionItem/MoneyRequestView.js index 712c7ded6ab0..2cd851355c66 100644 --- a/src/components/ReportActionItem/MoneyRequestView.js +++ b/src/components/ReportActionItem/MoneyRequestView.js @@ -91,7 +91,7 @@ function MoneyRequestView({report, parentReport, shouldShowHorizontalRule, trans let hasErrors = false; if (hasReceipt) { receiptURIs = ReceiptUtils.getThumbnailAndImageURIs(transaction.receipt.source, transaction.filename); - hasErrors = TransactionUtils.hasMissingSmartscanFields(transaction); + hasErrors = canEdit && TransactionUtils.hasMissingSmartscanFields(transaction); } const isDistanceRequest = TransactionUtils.isDistanceRequest(transaction);