Closed lanitochka17 closed 3 months ago
Triggered auto assignment to @kadiealexander (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.
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
We think that this bug might be related to #vip-split
Split scan - Selected rate from confirmation page does not show up in split detail view
On a Workspace, when we split an expense, we go throw this function
We are not passing the Tax detials like rate and amout to startSplitBill
as we do for IOU.splitBill
We need to pass taxCode
and taxAmount
to IOU.startSplitBill
then use it inside the TransactionUtils.buildOptimisticTransaction
POC Video:
https://github.com/Expensify/App/assets/12425932/6b2ddc6e-b5dd-43ec-b8a6-a0b1ff7215e0
the revert https://github.com/Expensify/App/pull/42670 has been deployed, please retest and confirm this is no longer reproducible.
Job added to Upwork: https://www.upwork.com/jobs/~016b6987c10090fc2e
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (External
)
Split scan - Selected rate from confirmation page does not show up in split detail view
When we split expense by scanning we invoke startSplitBill function, but we don't pass taxRate and taxAmount to this function.
One more thing, when adjusting the tax rate and amount, we invoke the completeSplitBill function, but we also don't pass taxRate and taxAmount
We need to update the optimisticData and params within the completeSplitBill and startSplitBill function to incorporate taxRate and taxAmount.
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
The selected tax rate does not show up in Tax rate row in split details view. The row is empty
We have two bug here
taxCode
and taxAmount
param in this function to create optimistic transaction and pass it to param of StartSplitBill
APIUpdateMoneyRequestTaxRate
API because we don't have the case for edit split bill hereAccept taxCode
, taxAmount
param in startSplitBill
function and then use this to create optimistic transaction here.
Pas taxCode
as transactionTaxCode
and taxAmount
as transactionTaxAmount
into startSplitBill
function here
taxCode
and taxAmount
as param of StartSplitBill
API here. We also need BE change to return taxCode
and taxAmount
of the transaction when we call StartSplitBill
APIsetDraftSplitTransaction
as the revert PR here https://github.com/Expensify/App/pull/42670/files#diff-2d4b9c38f6fb668f527da301a60d3c9bb05c865f33aa475d29148bbda45e3cc0NA
This should be hold https://github.com/Expensify/App/issues/39690
cc @MonilBhavsar
We can close this. This is new feature and not a bug
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: 1.4.76-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/40240
Action Performed:
Precondition:
Expected Result:
The selected tax rate will show up in Tax rate row in split details view
Actual Result:
The selected tax rate does not show up in Tax rate row in split details view. The row is empty
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/b133585f-2336-49b7-9782-db0ed700653e
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @DylanDylann