From 5ace474d71f8132ffe015e56fda81fed9849076e Mon Sep 17 00:00:00 2001 From: parsa aghaei
+ رهگیری لحظهای پرداختهای آنلاین زیبال، کارت به کارت، کیف پول و عیبیابی تراکنشها +
+حجم کل تراکنشهای موفق
++ {Number(stats.totalVolume).toLocaleString('fa-IR')}{' '} + تومان +
+پرداختهای موفق امروز
++ {Number(stats.todayVolume).toLocaleString('fa-IR')}{' '} + تومان +
+نرخ موفقیت پرداختها
++ ٪{Number(stats.successRate).toLocaleString('fa-IR')} +
+وضعیت تراکنشها
+| کاربر خریدار | +سفارش / نوع | +مبلغ (تومان) | +درگاه | +شناسههای پرداخت | +وضعیت | +تاریخ و زمان | +عملیات | +
|---|---|---|---|---|---|---|---|
|
+ {tx.user ? (
+
+
+ ) : (
+ کاربر مهمان
+ )}
+ + {tx.user.firstName} {tx.user.lastName} + ++ {tx.user.mobile} + + |
+
+ {/* Order / Type */}
+
+ {tx.type === 'WALLET_TOPUP' ? (
+
+ شارژ کیف پول
+
+ ) : (
+
+
+ {tx.order?.trackingNumber || 'سفارش آنلاین'}
+
+
+ خرید محصول
+
+
+ )}
+ |
+
+ {/* Amount */}
+ + {Number(tx.amount).toLocaleString('fa-IR')} + | + + {/* Gateway */} ++ + {tx.gateway === 'zibal' ? 'زیبال (Zibal)' : tx.gateway} + + | + + {/* Tracking Numbers */} +
+ {tx.trackId && (
+
+ Track:
+ {tx.trackId}
+
+
+ )}
+ {tx.refNumber && (
+
+ Ref:
+ {tx.refNumber}
+
+
+ )}
+ |
+
+ {/* Status */}
+
+ {isVerified && (
+
+ |
+
+ {/* Date */}
+ + {new Date(tx.createdAt).toLocaleDateString('fa-IR', { + year: 'numeric', + month: 'short', + day: 'numeric', + hour: '2-digit', + minute: '2-digit', + })} + | + + {/* Actions */} +
+
+
+
+ {tx.gateway === 'zibal' && tx.trackId && (
+
+ )}
+
+ |
+
{selectedTx.message}
+ {selectedTx.resultCode && ( ++ کد نتیجه زیبال: {selectedTx.resultCode} +
+ )} +
+ {JSON.stringify(liveInquiryData.gatewayResponse, null, 2)}
+
+