fix cent formatting and reporting pie chart labels

This commit is contained in:
Gregor Vostrak
2024-05-21 21:01:31 +02:00
parent 98514e41cc
commit 5c44f2590a
5 changed files with 10 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ import TaskMultiselectDropdown from '@/Components/Common/Task/TaskMultiselectDro
import SelectDropdown from '@/Components/Common/SelectDropdown.vue';
import ReportingGroupBySelect from '@/Components/Common/Reporting/ReportingGroupBySelect.vue';
import ReportingRow from '@/Components/Common/Reporting/ReportingRow.vue';
import { formatMoney } from '@/utils/money';
import { formatCents } from '@/utils/money';
import ReportingPieChart from '@/Components/Common/Reporting/ReportingPieChart.vue';
const startDate = ref<string | null>(
@@ -284,7 +284,7 @@ onMounted(() => {
<div
class="justify-end pr-6 flex items-center font-medium">
{{
formatMoney(
formatCents(
aggregatedTableTimeEntries.cost
)
}}