From 6d3832f6822b2e284d3baed7bbe047edba49bb7b Mon Sep 17 00:00:00 2001 From: Gloomy Date: Thu, 28 Aug 2025 11:38:22 +0000 Subject: [PATCH] update importWorkflow plugin --- .../src/components/plugins/import-workflow/DashboardTab.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webUI/src/components/plugins/import-workflow/DashboardTab.vue b/webUI/src/components/plugins/import-workflow/DashboardTab.vue index 9f40ce5..638c518 100644 --- a/webUI/src/components/plugins/import-workflow/DashboardTab.vue +++ b/webUI/src/components/plugins/import-workflow/DashboardTab.vue @@ -144,7 +144,7 @@ - روند ماهانه مبالغ ارزی + روند ماهانه مبالغ (ریالی)
@@ -388,7 +388,7 @@ const createTrendChart = () => { const persianYear = persianDate.year() const persianMonth = String(persianDate.month() + 1).padStart(2, '0') const monthKey = `${persianYear}-${persianMonth}` - monthlyData[monthKey] = (monthlyData[monthKey] || 0) + workflow.totalAmount + monthlyData[monthKey] = (monthlyData[monthKey] || 0) + (workflow.totalAmount * workflow.exchangeRate) }) const sortedMonths = Object.keys(monthlyData).sort() @@ -405,7 +405,7 @@ const createTrendChart = () => { data: { labels, datasets: [{ - label: 'مبلغ کل (ارزی)', + label: 'مبلغ کل (ریالی)', data: sortedMonths.map(month => monthlyData[month]), borderColor: '#36A2EB', backgroundColor: 'rgba(54, 162, 235, 0.1)',