Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

kewitz
Copy link
Contributor

@kewitz kewitz commented Feb 25, 2025

const expenses = await (sequelize.models.Expense as typeof Expense).findOne({
where: {
PayoutMethodId: this.id,
status: { [Op.notIn]: [ExpenseStatuses.PENDING, ExpenseStatuses.DRAFT] },
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@kewitz kewitz force-pushed the refact/payment-info branch from 9b5e12a to 70cefcc Compare February 28, 2025 10:21
@kewitz
Copy link
Contributor Author

kewitz commented Feb 28, 2025

Rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Payment Informations: Cancel Payment Method
2 participants