@@ -91,7 +97,13 @@ const showEditProjectModal = ref(false);
- {{ formatHumanReadableDuration(project.spent_time) }}
+ {{
+ formatHumanReadableDuration(
+ project.spent_time,
+ organization?.interval_format,
+ organization?.number_format
+ )
+ }}
--
diff --git a/resources/js/Components/Common/Reporting/ReportingChart.vue b/resources/js/Components/Common/Reporting/ReportingChart.vue
index 3cdefa4b..da96ec37 100644
--- a/resources/js/Components/Common/Reporting/ReportingChart.vue
+++ b/resources/js/Components/Common/Reporting/ReportingChart.vue
@@ -1,6 +1,6 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Filters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Group by
+
+ and
+
+
+
+
+
Name
+
Duration
+
Cost
+
+
+
+
+
+ Total
+
+
+ {{
+ formatHumanReadableDuration(
+ aggregatedTableTimeEntries.seconds,
+ organization?.interval_format,
+ organization?.number_format
+ )
+ }}
+
+
+ {{
+ aggregatedTableTimeEntries.cost
+ ? formatCents(
+ aggregatedTableTimeEntries.cost,
+ getOrganizationCurrencyString()
+ )
+ : '--'
+ }}
+
+
+
+
+
+ No time entries found
+
+
Try to change the filters and time range
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/js/Components/Common/Reporting/ReportingPieChart.vue b/resources/js/Components/Common/Reporting/ReportingPieChart.vue
index e488be37..63994c12 100644
--- a/resources/js/Components/Common/Reporting/ReportingPieChart.vue
+++ b/resources/js/Components/Common/Reporting/ReportingPieChart.vue
@@ -1,6 +1,6 @@
@@ -45,10 +48,16 @@ const expanded = ref(false);
- {{ formatHumanReadableDuration(entry.seconds) }}
+ {{
+ formatHumanReadableDuration(
+ entry.seconds,
+ organization?.interval_format,
+ organization?.number_format
+ )
+ }}
- {{entry.cost ? formatCents(entry.cost, props.currency) : '--' }}
+ {{ entry.cost ? formatCents(entry.cost, props.currency) : '--' }}