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

Create, list, edit, delete subscriptions #17

Open
7 tasks
Letiste opened this issue Sep 21, 2020 · 0 comments
Open
7 tasks

Create, list, edit, delete subscriptions #17

Letiste opened this issue Sep 21, 2020 · 0 comments
Labels
enhancement New feature or request 💸 subscription
Milestone

Comments

@Letiste
Copy link
Member

Letiste commented Sep 21, 2020

As a Rezoleo administrator,

I want to manage user's subscriptions,

So that I can add new subscriptions to users, edit their information, list the subscriptions of a user and delete wrong subscriptions.


A subscription MUST have the following information:

  • Owner
  • Way of payment
  • Price
  • Duration
  • Date

Constraints:

  • Price MUST be 8€ per month or 80€ per year
  • Duration of a subscription MUST be in month or in year
  • Way of payment MUST be one of following : cash, cheque, credit card or bank transfer
  • If a user is already subscribed, the new subscription MUST be effective at the end of the current subscription
  • Subscription must be destroyed when owner is destroyed

Definition of done:

  • Model is validated against constraints
  • Web UI to create, list, show, edit, delete subscriptions
  • JSON API to create, list, show, edit, delete subscriptions
  • Unit tests on model
  • Tests on controller
  • Integration tests on Web UI
  • Integration tests on API
@Letiste Letiste added enhancement New feature or request 💸 subscription labels Sep 21, 2020
@Letiste Letiste added this to the v0.1.0 milestone Sep 21, 2020
@Letiste Letiste modified the milestones: v0.1.0, v0.2.0 Sep 21, 2020
@Letiste Letiste linked a pull request Feb 21, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 💸 subscription
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant