-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$250] Add posted date to Expensify Card transactions #52358
Comments
Current assignee @JmillsExpensify is eligible for the NewFeature assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
|
Triggered auto assignment to Design team member for new feature review - @dubielzyk-expensify ( |
|
Edited by proposal-police: This proposal was edited at 2024-11-12 09:01:16 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Add posted date to Expensify Card transactions What is the root cause of that problem?New feature What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
Updated proposal.
|
This comment was marked as outdated.
This comment was marked as outdated.
@mkzie2's proposal makes sense to me. The solution follows the 🎀👀🎀 C+ reviewed @mountiny Is the BE part for this |
Current assignee @mountiny is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Thanks! no the be is not completed. I fell for the trap from @JmillsExpensify called I will have to whip up a PR for this |
Another thing I noticed when reviewing is that we have this check: App/src/libs/TransactionUtils/index.ts Lines 637 to 642 in 7256ad6
based on which we will show the Posted YYYY-MM-DD label if postedDate exists (based on proposed solution):App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 235 to 242 in 7256ad6
but because of the !!transaction?.managedCard check which determines isCardTransaction , if managedCard (boolean) is false or doesn't exist in the transaction object -> isCardTransaction will be false -> label won't show.
@mountiny Is |
@mountiny Please let me know once the backend PR is done and let me know what data in a transaction that I can use to get the |
@mkzie2 will let you know |
@ikevin127 I assume managedCard is for all card transactions give the logic you showed but I will check once I will work on the PR |
Problem: Credit card transactions are unique because it's possible to buy something one day, but then the transaction isn't processed by the issuing bank until a couple of days later. Both dates are important, because the receipt will always have the transaction date, yet the accountant (and accounting system) need the posted date.
Solution: Let's add the posted date to all Expensify Card transactions. What this means in practice is that:
Date
label (just likeAmount
; see example below).Date * Posted %postedDate%
.I've annotated the mockup below so that this is hopefully all clear.
Other notes for emphasis:
* Posted %postedDate%
will not show.Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: