(press) ionic event
-
persist in local storage + env switch to use mocks when useful
-
Add students
-
handle the case when the price changes from a date for a given student
-
For each student, add an amount paid + render in the agenda until which day it was paid
-
Enrich with income calculations
-
Later: allow to choose multiple dates for an entry (ex: repeat Tuesday + Thursday)
- Student: can add an amount paid in order to add to the amount paid in advance.
- Can visualize the total amount paid in advance, and the number of lessons covered by the payment.
- For a given lesson, it is indicated whether the student already paid for it.
- Student detail view: a way to display lessons for this student (could be a link)
- Prices can change from a date. It should not impact the calculation of salaries for previous lessons
- Modify the price of the student,
- Modify the existing lesson: set an end date to xxx - 1 (last lesson without the price change),
- Create a new lesson for this student with the new price from date xxx.