mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
fix formatting of billable amount on the dashboard
This commit is contained in:
@@ -16,7 +16,7 @@ import CardTitle from '@/Components/Common/CardTitle.vue';
|
|||||||
import LinearGradient from 'zrender/lib/graphic/LinearGradient';
|
import LinearGradient from 'zrender/lib/graphic/LinearGradient';
|
||||||
import ProjectsChartCard from '@/Components/Dashboard/ProjectsChartCard.vue';
|
import ProjectsChartCard from '@/Components/Dashboard/ProjectsChartCard.vue';
|
||||||
import { formatHumanReadableDuration } from '@/utils/time';
|
import { formatHumanReadableDuration } from '@/utils/time';
|
||||||
import { formatMoney } from '@/utils/money';
|
import { formatCents } from '@/utils/money';
|
||||||
|
|
||||||
use([
|
use([
|
||||||
CanvasRenderer,
|
CanvasRenderer,
|
||||||
@@ -150,12 +150,7 @@ const option = ref({
|
|||||||
" />
|
" />
|
||||||
<StatCard
|
<StatCard
|
||||||
title="Billable Amount"
|
title="Billable Amount"
|
||||||
:value="
|
:value="formatCents(props.totalWeeklyBillableAmount.value)" />
|
||||||
formatMoney(
|
|
||||||
props.totalWeeklyBillableAmount.value,
|
|
||||||
props.totalWeeklyBillableAmount.currency
|
|
||||||
)
|
|
||||||
" />
|
|
||||||
<ProjectsChartCard
|
<ProjectsChartCard
|
||||||
:weekly-project-overview="
|
:weekly-project-overview="
|
||||||
props.weeklyProjectOverview
|
props.weeklyProjectOverview
|
||||||
|
|||||||
Reference in New Issue
Block a user