Skip to content

[Due for payment 2025-03-03] Per diem - Negative amount turns to positive amount after sorting duplicates #55404

@IuliiaHerets

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.87-0
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): Mac 15.0 / Chrome
Issue reported by: Applause Internal Team
Device used: applausetester+100106kh@applause.expensifail.com
App Component: Money Requests

Action Performed:

Precondition:

  • Workspace has per diem rates.
  • At least one subrate has negative amount.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Submit two same per diem rates with a negative amount.
  4. Go to transaction thread of any expense in Step 3.
  5. Click Review duplicates.
  6. Click Keep this one on any expense preview.
  7. Click Confirm.

Expected Result:

The negative amount will be preserved.

Actual Result:

The negative amount turns to positive amount after sorting duplicates.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6716731_1737123255423.20250117_215351.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @jliexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions