-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Payments Methods: Redesign settings dashboard #10726
base: main
Are you sure you want to change the base?
Conversation
a19c96a
to
3c159fc
Compare
aa67c54
to
f44b9ea
Compare
server/models/PayoutMethod.ts
Outdated
const expenses = await (sequelize.models.Expense as typeof Expense).findOne({ | ||
where: { | ||
PayoutMethodId: this.id, | ||
status: { [Op.notIn]: [ExpenseStatuses.PENDING, ExpenseStatuses.DRAFT] }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would make sense to include REJECT or CANCELED as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the question here was related to what status I know for sure we don't care about editing. With the existing expense flow, I wonder if something would end up in canceled before being edited to the correct state. But perhaps if the user submits to the wrong collective and needs to re-submit to another collective and change something in the Payout Method details, that would make sense.
…PaymentMethod references
9b5e12a
to
70cefcc
Compare
Rebased. |
Resolves opencollective/opencollective#7837