-
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
[HOLD for payment 2024-08-19] [$250] Send invoice - Hold option is present for invoice and the invoice cannot be held #45518
Comments
Triggered auto assignment to @Beamanator ( |
Triggered auto assignment to @stephanieelliott ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold option is shown for invoice requests What is the root cause of that problem?From PR #44880
App/src/pages/ReportDetailsPage.tsx Lines 521 to 524 in c7d7bf4
What changes do you think we should make in order to solve the problem?We should not show Hold option for invoice reports. We will add a check for |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold option is present for invoice and the invoice cannot be held What is the root cause of that problem?We are referencing Line 2826 in 12acd13
What changes do you think we should make in order to solve the problem?
const isAdmin = isPolicyAdmin(moneyRequestReport?.policyID ?? '-1', allPolicies);
What alternative solutions did you explore? (Optional)Result: Invoice.mp4For admin for a workspace scenario Admin.mp4 |
Seems like we are already enforcing non-holding of invoices on the back-end due to the error shown in the video. So I think that means this is only a front-end issue where we need to not show the button. @neonbhai's solution sounds simplest to me, but it's possible I'm missing some nuance about how invoices work. |
I agree this is a front end issue, so removing the deploy blocker label |
nice, i was just looking here and agree. it looks like a frontend issue and not a blocker for backend. |
Going to remove the blocker - this is a new feature and I don't think invoices on NewDot are really used yet |
@rafecolton hi, production does not show |
I’m already working on a PR to clean up hold/unhold logic, I could handle this case there unless there are any objections against it. |
Job added to Upwork: https://www.upwork.com/jobs/~0178cd3e6d26424c8a |
Will be sent for a re-review today and should be merged in a few days max. |
Just linking the PR for easy ref: #45151 |
@Beamanator, @stephanieelliott, @cdOut, @ishpaul777 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
PR is currently being re-reviewed. |
Thanks for update 🙏 |
PR is in works #45151 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
#45151 WIP |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
PR is merged and on staging |
Ok seems this was deployed to prod on 8/12 per this comment: #45151 (comment) Updating for 7 day hold with payment pending labels. |
No payment required here i was not involved in PR |
Summarizing payment on this issue:
Upwork job is here: https://www.upwork.com/jobs/~0178cd3e6d26424c8a |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.7-4
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4728016
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Precondition:
Expected Result:
There should be no Hold option for invoice.
Actual Result:
Hold option is present for invoice and the invoice cannot be held.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6544135_1721145772156.20240717_000026.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ishpaul777The text was updated successfully, but these errors were encountered: