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)',