Skip to content

Commit

Permalink
Merge pull request #56094 from shubham1206agra/fix-submit-button-2
Browse files Browse the repository at this point in the history
Fixed submit button in empty expense report

(cherry picked from commit fc7d233)

(CP triggered by roryabraham)
  • Loading branch information
grgia authored and OSBotify committed Jan 31, 2025
1 parent de7ccce commit ef14255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7933,6 +7933,7 @@ function canSubmitReport(
transactions.every((t) => (isExpensifyCardTransaction(t) && isPending(t)) || (isPartialMerchant(getMerchant(t)) && isAmountMissing(t)) || isReceiptBeingScannedTransactionUtils(t));

return (
transactions.length > 0 &&
isOpenExpenseReport &&
!isArchived &&
!hasOnlyPendingCardOrScanFailTransactions &&
Expand Down

0 comments on commit ef14255

Please sign in to comment.