-
- مبلغ پرداختی
-
+ مبلغ پرداختی
- پرداخت از کیف پول
-
+ {paymentMethodLabel[order.payment_method] ?? order.payment_method}
+
- 1000000 تومان
-
+ {formatTomanPrice(order.total_amount)}
+
+ {/* فعلاً فقط نمایش، بعداً میتونی دکمه لغو اضافه کنی */}
@@ -28,7 +42,7 @@ const OrderPaymentSticky = () => {
- )
-}
+ );
+};
-export default OrderPaymentSticky
\ No newline at end of file
+export default OrderPaymentSticky;
\ No newline at end of file
diff --git a/src/components/orders/order-time-address-info-alert.tsx b/src/components/orders/order-time-address-info-alert.tsx
index a005d76..b490233 100644
--- a/src/components/orders/order-time-address-info-alert.tsx
+++ b/src/components/orders/order-time-address-info-alert.tsx
@@ -1,23 +1,35 @@
-import { ClockIcon, MapPinIcon } from 'lucide-react'
-import React from 'react'
+"use client";
-const OrderTimeAddressInfoAlert = () => {
- return (
-