Companies are registering the hours worked of their workers. But currently they cannot see in the app for whom they registered hours worked. For data protection reasons, in the publicly visible account A (/user/company/{company_id}/account_a) and in the publicly visible transactions overview (/user/company/{company_id}/transactions), only date and amount of the registration is visible.
Proposed solution:
Each company should have a new tile on dashboard section "Company accounting", named "Registered hours worked". There, the company should be able to access all hours they registered, including name and ID of the workers they registered hours for.
Implementation:
[x] ListRegisteredHoursWorkedUseCase in arbeitszeit
[x] ListRegisteredHoursWorkedController in arbeitszeit_web
[x] ListRegisteredHoursWorkedPresenter in arbeitszeit_web
[x] GET route list_registered_hours_worked in arbeitszeit_flask/company/routes.py
[x] ListRegisteredHoursWorkedView in arbeitszeit_flask/views
[x] Link to route on company dashboard arbeitszeit_flask/templates/company/dashboard.html
Description:
Companies are registering the hours worked of their workers. But currently they cannot see in the app for whom they registered hours worked. For data protection reasons, in the publicly visible account A (
/user/company/{company_id}/account_a
) and in the publicly visible transactions overview (/user/company/{company_id}/transactions
), only date and amount of the registration is visible.Proposed solution:
Each company should have a new tile on dashboard section "Company accounting", named "Registered hours worked". There, the company should be able to access all hours they registered, including name and ID of the workers they registered hours for.
Implementation:
ListRegisteredHoursWorkedUseCase
inarbeitszeit
ListRegisteredHoursWorkedController
inarbeitszeit_web
ListRegisteredHoursWorkedPresenter
inarbeitszeit_web
list_registered_hours_worked
inarbeitszeit_flask/company/routes.py
ListRegisteredHoursWorkedView
inarbeitszeit_flask/views
arbeitszeit_flask/templates/company/dashboard.html