From d2450749047255202d191544913bca09cd523f17 Mon Sep 17 00:00:00 2001 From: efrilm Date: Tue, 23 Sep 2025 20:54:43 +0700 Subject: [PATCH] no translate for payment method --- .../payment-methods/PaymentMethodReport.tsx | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/dashboards/payment-methods/PaymentMethodReport.tsx b/src/views/dashboards/payment-methods/PaymentMethodReport.tsx index d0a9ed1..b0194f3 100644 --- a/src/views/dashboards/payment-methods/PaymentMethodReport.tsx +++ b/src/views/dashboards/payment-methods/PaymentMethodReport.tsx @@ -19,22 +19,25 @@ const PaymentMethodReport = ({ payments }: { payments: PaymentDataItem[] }) => {

Payment Methods

- {payments && payments.map(method => ( -
-
- {method.payment_method_name} - {method.percentage.toFixed(1)}% + {payments && + payments.map(method => ( +
+
+ + {method.payment_method_name} + + {method.percentage.toFixed(1)}% +
+ +
+ {formatCurrency(method.total_amount)} + {method.order_count} orders +
- -
- {formatCurrency(method.total_amount)} - {method.order_count} orders -
-
- ))} + ))}