Repository navigation
[$500] Web - Total Split amount is not displayed on participant LHN #35679
Description
Activity
- addedExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorDailyKSv2KSv2BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.
on Feb 2, 2024 - changed the title
[-]IOU - Total Split amount is not displayed on participant LHN[/-][+][$500] IOU - Total Split amount is not displayed on participant LHN[/+]on Feb 2, 2024 Job added to Upwork: https://www.upwork.com/jobs/~01b4ee716715d2a5b2
- addedHelp WantedApply this label when an issue is open to proposals by contributorsApply this label when an issue is open to proposals by contributors
on Feb 2, 2024 Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)Triggered auto assignment to @stephanieelliott (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.We think that this bug might be related to #vip-split-p2p-chat-groups
What is expected out of it it should show the total amount only. and not the requested amount?
solution :
In IOU.js, ensure that the total amount is correctly calculated and included in the splitData:
javascript
const totalAmount = calculateTotalAmount(participants, amount);
const {splitData, splits, onyxData} = createSplitsAndOnyxData(participants, currentUserLogin, currentUserAccountID, totalAmount, comment, currency, category, existingSplitChatReportID);In MoneyRequestPreview.js, update the component to display the total amount:
javascript
const totalAmount = props.iouReport.totalAmount || '';
// ...
{totalAmount}@cjoshi-zeals Both reports should be in LHN
@promisingcoder Please follow the proposal template (check contributing guide)
6 remaining items
Looks like this is a dupe of #35537, if it is internal it can be handled here.
Reacted by Stephanie Elliotthaven't had the chance to look at this one yet.
Melv?
Reacted by Abdelhafidh Belalia and Stephanie Elliott- changed the title
[-][$500] IOU - Total Split amount is not displayed on participant LHN[/-][+][$500] Web - Total Split amount is not displayed on participant LHN[/+]on Feb 9, 2024 Hey @cristipaval, will you have a chance to look at this one this week?
I can't reproduce this one. It has been fixed. Could you confirm?
Seems fixed
Yep, no longer able to repro. Closing!
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.36-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: https://expensify.testrail.io/index.php?/tests/view/4263495
Email or phone of affected tester (no customers): gocemate@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:Precondition:
User A and User B (gmail accounts) does not have previous conversation
Expected Result:
Total Split bill amount should be present on User's B LHN
Actual Result:
Only shared Split bill amount is present on User's B LHN. Total can only be seen in Search results list
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6364978_1706889102957.Recording__2007.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit