mifort-org / mifort-timesheet

Mifort Timesheet
http://mifort.org/timesheet/
Apache License 2.0
30 stars 19 forks source link

Generate timesheet periods on frontend #528

Open AndrewRest opened 3 years ago

AndrewRest commented 3 years ago

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