-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Part of the Manual Expense Merging in NewDot project
Main issue: https://github.com/Expensify/Expensify/issues/496985
Doc section: https://docs.google.com/document/d/1RXJyOVsX2AgKWNViLSxNm3PH2bSnJCuo6K_jcOxUGuo/edit?tab=t.0#bookmark=id.d4udct66dw0x
Project:
Feature Description
Implement the frontend section of the design doc allowing manually merging two expenses from the expense view, report view, and the Reports page.
Manual Test Steps
Automated Tests
- Add tests for making the API call and verifying optimistic data have been set properly. Mock data for
MERGE_TRANSACTION{transactionID}key, mock the API call and then verify:
- Original transaction is updated
- If single expense report, the report was deleted
- Other transaction is deleted
- Violations of original transaction are deleted
- Update test of ReportSecondaryActionUtilsTest by adding test cases of:
- Merging two cash expenses: merge option should show up
- Merging two card expenses: merge option should not show up
- Merging cash/card expenses: merge option should show up
Issue Owner
Current Issue Owner: @alexpensifyIssue Owner
Current Issue Owner: @alexpensifyReactions are currently unavailable
Metadata
Metadata
Labels
Type
Projects
Status
Done