Skip to content

[$250] Track tax - Tax rate does not update when editing distance rate offline #48293

Description

@lanitochka17

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.26-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4902670
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
**Issue reported by:**Applause - Internal Team

Action Performed:

Precondition:

  • Track tax is enabled.
  • Workspace has at least two distance rates that have tax rate and tax reclaimable on
  • Each distance rate has different tax rate
  1. Go to staging.new.expensify.com
  2. Go to workspace chat
  3. Submit a distance expense (for Step 8 )
  4. Go offline
  5. Start another submit distance flow and proceed to confirmation page
  6. Click Rate and select a different rate
  7. Note that Tax rate field still updates according to the selected distance rate in offline mode
  8. Go to the distance expense thread in Step 3
  9. Click Rate
  10. Select a different rate

Expected Result:

  • Tax rate will update after changing distance rate offline in transaction thread, as it works on confirmation page (Step 7)
  • Tax rate and tax amount field will gray out

Actual Result:

  • Tax rate does not update after changing distance rate offline in transaction thread. The only thing that updates is the removal of "default" label in tax rate field
  • Tax rate and tax amount field are not gray out

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6586512_1724933599343.20240829_200404.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c25cfebc45c34fc3
  • Upwork Job ID: 1830995712415705839
  • Last Price Increase: 2024-09-10
  • Automatic offers:
    • Krishna2323 | Contributor | 103905995
Issue OwnerCurrent Issue Owner: @aimane-chnaif

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

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions