feat(affiliate): Update affiliate component to display total commission and improve data fetching

This commit is contained in:
web@ppanel
2025-01-04 16:51:03 +07:00
parent 4aea4e811f
commit cc834caa30
56 changed files with 335 additions and 114 deletions
+2
View File
@@ -1,7 +1,9 @@
{
"accountBalance": "ยอดเงินในบัญชี",
"commission": "คอมมิชชั่น",
"copyInviteLink": "คัดลอกลิงก์เชิญ",
"copySuccess": "คัดลอกลิงก์เชิญสำเร็จ",
"deductBalance": "หักยอดเงิน",
"inviteCode": "รหัสเชิญ",
"recharge": "เติมเงิน"
}
+3 -1
View File
@@ -1,8 +1,10 @@
{
"amount": "จำนวนเงิน",
"balance": "ยอดคงเหลือ",
"commission": "คอมมิชชั่น",
"createdAt": "เวลา",
"title": "ยอดคงเหลือในบัญชี",
"deductBalance": "หักยอดเงิน",
"totalAssets": "ภาพรวมสินทรัพย์",
"type": {
"0": "ประเภท",
"1": "เติมเงิน",