From c7e50a9b843cf733291047a791f0207325d5de05 Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Tue, 26 Nov 2024 15:19:52 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(types):=20Order=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/app/dashboard/order/page.tsx | 12 +++++++++--- apps/admin/locales/en-US/order.json | 5 +++-- apps/admin/locales/zh-CN/order.json | 5 +++-- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/apps/admin/app/dashboard/order/page.tsx b/apps/admin/app/dashboard/order/page.tsx index e984982..a702f71 100644 --- a/apps/admin/app/dashboard/order/page.tsx +++ b/apps/admin/app/dashboard/order/page.tsx @@ -87,13 +87,19 @@ export default function Page() {
  • - {t('reductionPrice')} + {t('discount')} - +
  • - {t('feAmount')} + {t('couponDiscount')} + + + +
  • +
  • + {t('feeAmount')} diff --git a/apps/admin/locales/en-US/order.json b/apps/admin/locales/en-US/order.json index 195fc77..df162a9 100644 --- a/apps/admin/locales/en-US/order.json +++ b/apps/admin/locales/en-US/order.json @@ -1,7 +1,9 @@ { "amount": "Amount", + "couponDiscount": "Coupon Discount", + "discount": "Discount Amount", "failed": "Failed", - "feAmount": "Fee Amount", + "feeAmount": "Fee Amount", "method": "Payment Method", "methods": { "alipay_f2f": "Alipay (Face to Face)", @@ -11,7 +13,6 @@ "stripe_wechat_pay": "Stripe (WeChat)" }, "orderNumber": "Order Number", - "reductionPrice": "Discount Amount", "status": "Order Status", "subscribe": "Subscribe", "subscribePrice": "Subscription Price", diff --git a/apps/admin/locales/zh-CN/order.json b/apps/admin/locales/zh-CN/order.json index 2e3b0ac..b03e341 100644 --- a/apps/admin/locales/zh-CN/order.json +++ b/apps/admin/locales/zh-CN/order.json @@ -1,7 +1,9 @@ { "amount": "金额", + "couponDiscount": "优惠券折扣", + "discount": "折扣金额", "failed": "失败", - "feAmount": "手续费", + "feeAmount": "手续费", "method": "支付方式", "methods": { "alipay_f2f": "支付宝(面对面)", @@ -11,7 +13,6 @@ "stripe_wechat_pay": "Stripe(微信)" }, "orderNumber": "订单编号", - "reductionPrice": "优惠金额", "status": { "0": "状态", "1": "待支付",