Skip to content

Commit

Permalink
Merge pull request #27727 from ahmedGaber93/issue-27333
Browse files Browse the repository at this point in the history
fix issue 27333
  • Loading branch information
marcochavezf authored Sep 20, 2023
2 parents 26081cc + b9c5785 commit e4b784c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4b784c

Please sign in to comment.