We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbbbc8c commit b067a44Copy full SHA for b067a44
1 file changed
src/libs/ReportUtils.ts
@@ -4892,10 +4892,6 @@ function canEditFieldOfMoneyRequest(
4892
return false;
4893
}
4894
4895
- if (fieldToEdit === CONST.EDIT_REQUEST_FIELD.RECEIPT && isClosedReport(moneyRequestReport)) {
4896
- return false;
4897
- }
4898
-
4899
if ((fieldToEdit === CONST.EDIT_REQUEST_FIELD.AMOUNT || fieldToEdit === CONST.EDIT_REQUEST_FIELD.CURRENCY) && isCardTransactionTransactionUtils(transaction)) {
4900
4901
@@ -4928,6 +4924,7 @@ function canEditFieldOfMoneyRequest(
4928
4924
4929
4925
if (fieldToEdit === CONST.EDIT_REQUEST_FIELD.RECEIPT) {
4930
4926
return (
4927
+ !isClosedReport(moneyRequestReport) &&
4931
!isInvoiceReport(moneyRequestReport) &&
4932
!isReceiptBeingScanned(transaction) &&
4933
!isPerDiemRequest(transaction) &&
0 commit comments