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

✨ [Frontend] Feature: Pay study's debt #7061

Merged
merged 62 commits into from
Jan 22, 2025

Conversation

odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Jan 20, 2025

What do these changes do?

User story:

  • A user tries to open a study
  • The backend doesn't allow because the project is in negative credits, some transactions are in debt
  • The frontend shows the lock on the card, blocks the Open button, but guides the user to solve the problem in the Billing Settings
  • The user has two options:
    • If it's their own credit account the one that went negative, they only need to bring it to positive number to settle the debt.
    • Use another credit account to pay the last transaction that made the original credit account go negative. In this case a transfer will be made.
  • Once the debt is settled, the card gets unblocked

PayDebt

Related issue/s

How to test

Dev-ops checklist

@odeimaiz odeimaiz self-assigned this Jan 20, 2025
@odeimaiz odeimaiz added this to the Singularity milestone Jan 20, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Jan 20, 2025
@odeimaiz odeimaiz marked this pull request as ready for review January 22, 2025 15:48
Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@odeimaiz odeimaiz merged commit 21561a6 into ITISFoundation:master Jan 22, 2025
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants