fix formatting of billable amount on the dashboard

This commit is contained in:
Gregor Vostrak
2024-04-26 02:40:44 +02:00
parent bb5ccf3606
commit 212ee27d13
@@ -16,7 +16,7 @@ import CardTitle from '@/Components/Common/CardTitle.vue';
import LinearGradient from 'zrender/lib/graphic/LinearGradient';
import ProjectsChartCard from '@/Components/Dashboard/ProjectsChartCard.vue';
import { formatHumanReadableDuration } from '@/utils/time';
import { formatMoney } from '@/utils/money';
import { formatCents } from '@/utils/money';
use([
CanvasRenderer,
@@ -150,12 +150,7 @@ const option = ref({
" />
<StatCard
title="Billable Amount"
:value="
formatMoney(
props.totalWeeklyBillableAmount.value,
props.totalWeeklyBillableAmount.currency
)
" />
:value="formatCents(props.totalWeeklyBillableAmount.value)" />
<ProjectsChartCard
:weekly-project-overview="
props.weeklyProjectOverview