Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment