From 5bb9776ef0613c9a6507cc9c3eb60e2445ef0d46 Mon Sep 17 00:00:00 2001 From: mahmoodsht <106068383+mahmoodsht@users.noreply.github.com> Date: Sat, 18 Oct 2025 13:19:13 +0330 Subject: [PATCH] =?UTF-8?q?=D8=A7=D8=B5=D9=84=D8=A7=D8=AD=20=D9=85=DA=A9?= =?UTF-8?q?=D8=A7=D9=86=20=DA=A9=D8=A7=D8=AF=D8=B1=D9=87=D8=A7=20=D9=88=20?= =?UTF-8?q?=D9=85=D8=AA=D9=86=20=D9=87=D8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../process-innovation-page.tsx | 90 +++++++++---------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/app/components/dashboard/project-management/process-innovation-page.tsx b/app/components/dashboard/project-management/process-innovation-page.tsx index f56ff41..24d4a7d 100644 --- a/app/components/dashboard/project-management/process-innovation-page.tsx +++ b/app/components/dashboard/project-management/process-innovation-page.tsx @@ -160,7 +160,7 @@ export function ProcessInnovationPage() { const [stateCard, setStateCard] = useState({ productionstopsprevention: { id: "productionstopsprevention", - title: "جلوگیری از توقفات تولید", + title: "توقفات تولید", value: formatNumber( stats.productionStopsPreventionSum.toFixed?.(1) ?? stats.productionStopsPreventionSum @@ -171,7 +171,7 @@ export function ProcessInnovationPage() { }, bottleneckremoval: { id: "bottleneckremoval", - title: "رفع گلوگاه", + title: "گلوگاه ها", value: formatNumber(stats.bottleneckRemovalCount), description: "تعداد رفع گلوگاه", icon: Funnel, @@ -179,7 +179,7 @@ export function ProcessInnovationPage() { }, currencyreduction: { id: "currencyreduction", - title: "کاهش ارز بری", + title: "ارز بری", value: formatNumber( stats.currencyReductionSum.toFixed?.(0) ?? stats.currencyReductionSum ), @@ -189,23 +189,23 @@ export function ProcessInnovationPage() { }, decreaseCurrencyOperation: { id: "decreaseCurrencyOperation", - title: "کاهش هزینه عملیاتی", + title: "هزینه های عملیاتی", value: formatNumber( stats.reductionCostOprationSum.toFixed?.(0) ?? stats.reductionCostOprationSum ), - description: "میلیون ریال یافته", + description: "میلیون ریال کاهش یافته", icon: DollarSign, color: "text-pr-green", }, frequentfailuresreduction: { id: "frequentfailuresreduction", - title: "کاهش خرابی های پرتکرار", + title: "خرابی های پرتکرار", value: formatNumber( stats.frequentFailuresReductionSum.toFixed?.(1) ?? stats.frequentFailuresReductionSum ), - description: "مجموع درصد کاهش خرابی", + description: "خرابی پر تکرار کاهش یافته", icon: Wrench, color: "text-pr-green", }, @@ -672,46 +672,25 @@ export function ProcessInnovationPage() {

- {stateCard.bottleneckremoval.value} + {stateCard.productionstopsprevention.value}

- {stateCard.bottleneckremoval.description} + {stateCard.productionstopsprevention.description}
- -
-
-
-

- {stateCard.currencyreduction.value} -

-
- {stateCard.currencyreduction.description} -
-
-
-
-
-
-
+
+
+ +
+
+
+

+ {stateCard.currencyreduction.value} +

+
+ {stateCard.currencyreduction.description} +
+
+
+
+

- {stateCard.productionstopsprevention.value} + {stateCard.bottleneckremoval.value}

- {stateCard.productionstopsprevention.description} + {stateCard.bottleneckremoval.description}
@@ -788,7 +788,7 @@ export function ProcessInnovationPage() { loading={statsLoading} data={[ { - label: "کاهش توقفات تولید", + label: "توقفات تولید", value: Number(stats.percentProductionStops) || 0, labelColor: "text-white", }, @@ -798,19 +798,19 @@ export function ProcessInnovationPage() { labelColor: "text-white", }, { - label: "کاهش ارز بری", + label: "ارز بری", value: Number(stats.percentCurrencyReduction) || 0, labelColor: "text-white", }, { - label: "کاهش هزینه عملیاتی", - value: - Number(stats.percentOperatingCostBeforeInnovation) || 0, + label: "خرابی پر تکرار", + value: Number(stats.percentFailuresReduction) || 0, labelColor: "text-white", }, { - label: "کاهش خرابی پر تکرار", - value: Number(stats.percentFailuresReduction) || 0, + label: "هزینه های عملیاتی", + value: + Number(stats.percentOperatingCostBeforeInnovation) || 0, labelColor: "text-white", }, ]}