Allow sales person to insert extra_hours
This commit is contained in:
parent
9011f223c7
commit
29f94a8e37
5 changed files with 60 additions and 7 deletions
|
|
@ -52,6 +52,7 @@ type WorkingHoursService = service_impl::working_hours::WorkingHoursServiceImpl<
|
|||
type ExtraHoursService = service_impl::extra_hours::ExtraHoursServiceImpl<
|
||||
dao_impl::extra_hours::ExtraHoursDaoImpl,
|
||||
PermissionService,
|
||||
SalesPersonService,
|
||||
ClockService,
|
||||
UuidService,
|
||||
>;
|
||||
|
|
@ -173,6 +174,7 @@ impl RestStateImpl {
|
|||
let extra_hours_service = Arc::new(service_impl::extra_hours::ExtraHoursServiceImpl::new(
|
||||
extra_hours_dao,
|
||||
permission_service.clone(),
|
||||
sales_person_service.clone(),
|
||||
clock_service,
|
||||
uuid_service,
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue