Hi,
I have two db tables (models): tasks and employees.
The table employees contains: id, name...
The table tasks contains: id, employy_id, duration, created_at, updated_at ...
I need to add statistics to include: emloyy name, sum duration.
However, I need to filter by days.
Example:
Employy John add 10 tasks today. Total duration 6 hours (per day).
Employy John add 15 tasks yesterday. Total duration 3 hours (per day).
I need to view the calendar (example date picker) where I select the date and I see the table:
example John 26.6.2018 6 hours.