Skip to content

Track expense when submitted to the workspace shows "owes" in preview and "tracking" in LHN #56346

Closed

Description

@IuliiaHerets

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.0.94-1
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): applausetester+sj9032@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to self DM.
  3. Submit a manual expense to self DM.
  4. Click Share it with my accountant.
  5. Select any workspace if there are workspaces, or create a new one.
  6. Enter merchant and submit it to the workspace chat.
  7. Go to workspace chat.
  8. Note that expense preview shows "spent x" and LHN shows "tracking x".
  9. Delete the expense.
  10. Go to self DM and submit a manual expense.
  11. Select Submit it to someone.
  12. Select a workspace and submit it to the workspace chat.
  13. Go to workspace chat.

Expected Result:

If the submitted expense is supposed to be a non-track expense, the expense preview should show "owes x" and LHN should also shows "owes x".

If the submitted expense is supposed to be a track expense, the expense preview should show "spent x" and LHN should also shows "tracking x".

Actual Result:

The expense preview shows "owes x" and LHN shows "tracking x". It is giving unclear indication that the submitted expense could be 50% non-track expense and 50% track expense.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6733165_1738675035663.20250204_210942.mp4

View all open jobs on GitHub

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerCashThis issue or pull request should block deployment
    on Feb 4, 2025
  2. melvin-bot commented on Feb 4, 2025

    @melvin-bot

    Triggered auto assignment to @sakluger (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Feb 4, 2025

    @melvin-bot

    Triggered auto assignment to @nkuoch (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Feb 4, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Feb 4, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. Beamanator commented on Feb 4, 2025

    @Beamanator
    Contributor

    Helping look into this one 🤚

  7. 17 remaining items

  8. thienlnam commented on Feb 6, 2025

    @thienlnam
    Contributor

    Ah given that we're overriding the reimbursable state then we should change the type based on that

  9. sakluger commented on Feb 7, 2025

    @sakluger
    Contributor

    Just checking, what's the next step here?

  10. sakluger commented on Feb 10, 2025

    @sakluger
    Contributor

    @luacmartins friendly bump, what's the next step on this GH issue?

  11. luacmartins commented on Feb 10, 2025

    @luacmartins
    Contributor

    I have this PR in review https://github.com/Expensify/Auth/pull/14118 that fixes the issue

  12. melvin-bot commented on Mar 6, 2025

    @melvin-bot

    This issue has not been updated in over 15 days. @sakluger, @hungvu193, @luacmartins, @FitseTLT eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  13. sakluger commented on May 3, 2025

    @sakluger
    Contributor

    @luacmartins did your PR fix this issue?

    FYI I'm OOO until May 19. Feel free to close if it's fixed.

  14. luacmartins commented on May 5, 2025

    @luacmartins
    Contributor

    Yea, this is no longer a thing with the TradReports project. Gonna close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringMonthlyKSv2ReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions