Timesheet periods are taken from Project entitty from backend right now.
It should be changed.
1) Company entity should have only one field like periodType: weekly, monthly. By default weekly
2) Frontend should use that feild to generate main Timesheet page to fill time
3) periods[] array should not be used at all. It means that functionality to copy periods from company to project should be removed from bachend logic. As well as generation such periods on backend side
Timesheet periods are taken from Project entitty from backend right now. It should be changed. 1) Company entity should have only one field like periodType: weekly, monthly. By default weekly 2) Frontend should use that feild to generate main Timesheet page to fill time 3) periods[] array should not be used at all. It means that functionality to copy periods from company to project should be removed from bachend logic. As well as generation such periods on backend side