mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 19:22: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
@@ -43,7 +43,7 @@ const props = defineProps<{
|
||||
totalWeeklyBillableAmount: {
|
||||
value: number;
|
||||
currency: string;
|
||||
};
|
||||
} | null;
|
||||
weeklyHistory: {
|
||||
date: string;
|
||||
duration: number;
|
||||
@@ -199,10 +199,11 @@ const option = ref({
|
||||
<StatCard
|
||||
title="Billable Amount"
|
||||
:value="
|
||||
props.totalWeeklyBillableAmount ?
|
||||
formatCents(
|
||||
props.totalWeeklyBillableAmount.value,
|
||||
getOrganizationCurrencyString()
|
||||
)
|
||||
) : '--'
|
||||
" />
|
||||
<ProjectsChartCard
|
||||
:weekly-project-overview="
|
||||
|
||||
Reference in New Issue
Block a user