Skip to content
Snippets Groups Projects
Commit f6e9bec6 authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

feat(ProfileType): Handling profileTypes modifications over time

There can only be one profileType per month. A profileType can be active over many months.
ProfileTypes are now set on the 1st of the month. If a profileType is being completed for the first time, the profileType will be linked to the current month.
Before saving a new profileType, check for other occurences on the given time period. If occurences are found delete them, new profileType overrides them.
Introduce a new migration to make sure no multiple profileTypes can exist over the same month.
parent c7b20531
No related branches found
No related tags found
Loading
Showing
with 743 additions and 317 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment