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", }, ]}