Skip to content

[Due for payment 2025-08-01] [$250] Expense - Approve and Submit button appears simultenously after approving unheld expense #65873

@vincdargento

Description

@vincdargento

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.79-4
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6465411
Email or phone of affected tester (no customers): jdfijndfodoif1jd1o1@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Admin invites member to the workspace.
  1. Go to staging.expensify.com
  2. [Member] Go to workspace chat.
  3. [Member] Submit two expenses to the workspace chat.
  4. [Member] Open the expense report.
  5. [Member] Hold one of the expenses by selecting an expense row via checkbox > More > Hold > Enter reason and save it.
  6. [Member] Click Submit buton.
  7. [Admin] Open the expense report submitted by member.
  8. [Admin] Click Approve and approve the unheld (pending) amount.
  9. [Admin] Go back to main workspace chat and open the held expense.
  10. [Admin] Click More -> Result: Approve and Submit button appear simultaneously.
  11. [Admin] Click Approve without submitting the held expense and click on the held amount.

Expected Result:

In Step 10, only Submit button should appear because a report can only be submitted first and then approved.

Actual Result:

In Step 10, Approve and Submit button appear simultaneously, which means admin can approve an unsubmitted issue.
This leads to error when approving unsubmitted report. Error shows up, approve button changes to Remove hold, Submit button disappears in More menu. When reopening the chat, it shows Approve and Submit button again.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

bug.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021943739221776723171
  • Upwork Job ID: 1943739221776723171
  • Last Price Increase: 2025-07-11
  • Automatic offers:
    • mkzie2 | Contributor | 108075251
Issue OwnerCurrent Issue Owner: @garrettmknight

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions