From 54dfcb2dbddf97d11112bc41cecac2849c6fd353 Mon Sep 17 00:00:00 2001 From: Brandon Stites <42391420+stitesExpensify@users.noreply.github.com> Date: Tue, 21 Oct 2025 12:54:29 -0400 Subject: [PATCH] Revert "Fix: Don't show negative transactions on Add unreported expense screen" --- src/pages/AddUnreportedExpense.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/AddUnreportedExpense.tsx b/src/pages/AddUnreportedExpense.tsx index c54c1d996153..d69feadf57ae 100644 --- a/src/pages/AddUnreportedExpense.tsx +++ b/src/pages/AddUnreportedExpense.tsx @@ -24,7 +24,7 @@ import interceptAnonymousUser from '@libs/interceptAnonymousUser'; import type {AddUnreportedExpensesParamList} from '@libs/Navigation/types'; import Permissions from '@libs/Permissions'; import {canSubmitPerDiemExpenseFromWorkspace, getPerDiemCustomUnit} from '@libs/PolicyUtils'; -import {getTransactionDetails, isIOUReport} from '@libs/ReportUtils'; +import {isIOUReport} from '@libs/ReportUtils'; import {shouldRestrictUserBillableActions} from '@libs/SubscriptionUtils'; import tokenizedSearch from '@libs/tokenizedSearch'; import {createUnreportedExpenseSections, getAmount, getCurrency, getDescription, getMerchant, isPerDiemRequest} from '@libs/TransactionUtils'; @@ -74,11 +74,6 @@ function AddUnreportedExpense({route}: AddUnreportedExpensePageType) { return false; } - // Negative values are not allowed for unreported expenses - if ((getTransactionDetails(item)?.amount ?? 0) < 0) { - return false; - } - if (isPerDiemRequest(item)) { // Only show per diem expenses if the target workspace has per diem enabled and the per diem expense was created in the same workspace const workspacePerDiemUnit = getPerDiemCustomUnit(policy);