My company provides software development services and related services.
We use the project and tasks to plan work, calculate the cost of work, as well as employee salaries based on hourly pay.
We have an 8-hour working day and 1 hour break at 15:00, that is, in general, the employee is in the office from 10:00 to 19:00.
We are trying to use Timesheet to calculate hourly wages. For example, we want to calculate the bill, from 16 Dec 2021 to 23 Dec 2021. We want the calculation to be made for 8 hours a day at the specified rate. At the same time, 1 hour break at 15:00 was excluded, as well as weekends Saturday and Sunday. That is, 5 days of work for 8 hours, and 40 hours of work for the period from 16 Dec 2021 to 23 Dec 2021. We have set the “Standard Working Hours” parameter to 8 in the company settings. And also set the “Default Holiday List” for 2021, in which all Saturdays and Sundays of the year are holidays.
However, this is not taken into account in the schedule and we get Hrs: 58.667.
Or, instead, we should create separate records in the TimeSheets table with a duration of 8 hours for each specific working day (not taking into account 1 hour break at all). This does not seem to be the right approach, since in real conditions the work lasts for months and not one week.
It is also not entirely clear what the fields are for:
What is their purpose, what are they for and how to use them?