Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.5k stars 2.85k forks source link

[$250] Track - Pay button with negative amount appears after changing distance rate of track expense #51415

Open lanitochka17 opened 2 days ago

lanitochka17 commented 2 days ago

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.53-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+kh1610015@applause.expensifail.com Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

Expected Result:

There will be no pay button for track expense after the distance rate is changed

Actual Result:

Pay button with negative amount appears after changing distance rate of track expense

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/4fe59190-f3a6-433a-8c43-2012bd6c0f4e

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021849603721352245631
  • Upwork Job ID: 1849603721352245631
  • Last Price Increase: 2024-10-25
Issue OwnerCurrent Issue Owner: @thesahindia
melvin-bot[bot] commented 2 days ago

Triggered auto assignment to @greg-schroeder (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.

nyomanjyotisa commented 2 days ago

It seems to be a BE issue. Before the rate change, both nonReimbursableTotal and total are the same. However, after the rate change, the API response returns total as 0.

melvin-bot[bot] commented 2 days ago

Job added to Upwork: https://www.upwork.com/jobs/~021849603721352245631

melvin-bot[bot] commented 2 days ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External)

greg-schroeder commented 2 days ago

Hey @thesahindia can you help confirm if this is in fact BE as stated here?