mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 18:52:14 +01:00
hide total billable amounts from employees when employees_can_see_billable_rates is disabled
This commit is contained in:
committed by
Constantin Graf
parent
73ce5f793d
commit
50cc7053e4
@@ -105,9 +105,16 @@ export function canManageBilling() {
|
||||
return currentUserHasPermission('billing');
|
||||
}
|
||||
|
||||
export function canViewReport() {
|
||||
return currentUserHasPermission('reports:view');
|
||||
}
|
||||
export function canUpdateReport() {
|
||||
return currentUserHasPermission('reports:update');
|
||||
}
|
||||
export function canDeleteReport() {
|
||||
return currentUserHasPermission('reports:delete');
|
||||
}
|
||||
|
||||
export function canViewAllTimeEntries() {
|
||||
return currentUserHasPermission('time-entries:view:all');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user