-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
1 / 31 of 3 issues completedOpen
1 / 31 of 3 issues completed
Copy link
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionDailyKSv2KSv2DesignNewFeatureSomething to build that is a new item.Something to build that is a new item.
Description
[WN Post]
[Figma]
[Pre-design]
Feature Description
'Duplicate' adds the ability for users to generate a copy of an existing expense in NewDot, following our Classic functionality and patterns. We'll implement it so it does the following:
- User opens a cash, Per Diem, or Distance expense in any state (Unreported, Draft, Processing, Approved, Paid) and taps More.
- The More menu includes a Duplicate option with the Multiple Receipts icon.
- User taps Duplicate.
- We'll indicate the expense has been duplicated by:
- Changing the Multiple Receipts icon into a checkmark temporarily and then back to the Multiple Receipts icon.
- Changing
Duplicateon the button to beDuplicatedand then back toDuplicateat the same time as the icon change.
- We create an expense on the user's primary workspace with the following details, using the
CreateMoneyRequestcommand:- Merchant, amount, categories, tags, tax. Note that the coding may not be available on the primary workspace; we'll still create the duplicate expense with the original expense coding. This will display an error for the user to correct the duplicate expense. For an example of the error we show, you can move an expense report from a workspace with Per Diem to one without it.
- Date is set to today.
- Receipt images are not duplicated.
- If the duplicated expense is in the background view, we'll highlight it temporarily.
Notes for completeness:
- Card expenses cannot be duplicated
- We'll add
Duplicateto theX selectedmenu for users when they select one or more non-card expenses to duplicate. Example: - We'll use the animation pattern for copying an email address from user details for the
Multiple Receipts>Checkmark>Multiple Receiptsanimation. Example at the bottom of the issue.
Visuals:
Duplicate expense flow:
Animation example:
CleanShot.2025-10-31.at.08.07.42.mp4
Reactions are currently unavailable
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionDailyKSv2KSv2DesignNewFeatureSomething to build that is a new item.Something to build that is a new item.
Type
Projects
Status
Tracking