🐛 fix(types): Order type

This commit is contained in:
web@ppanel 2024-11-26 15:19:52 +07:00
parent 255bd8219c
commit c7e50a9b84
3 changed files with 15 additions and 7 deletions

View File

@ -87,13 +87,19 @@ export default function Page() {
</span> </span>
</li> </li>
<li className='flex items-center justify-between'> <li className='flex items-center justify-between'>
<span className='text-muted-foreground'>{t('reductionPrice')}</span> <span className='text-muted-foreground'>{t('discount')}</span>
<span> <span>
<Display type='currency' value={row.original.reduction} /> <Display type='currency' value={row.original.discount} />
</span> </span>
</li> </li>
<li className='flex items-center justify-between'> <li className='flex items-center justify-between'>
<span className='text-muted-foreground'>{t('feAmount')}</span> <span className='text-muted-foreground'>{t('couponDiscount')}</span>
<span>
<Display type='currency' value={row.original.coupon_discount} />
</span>
</li>
<li className='flex items-center justify-between'>
<span className='text-muted-foreground'>{t('feeAmount')}</span>
<span> <span>
<Display type='currency' value={row.original.fee_amount} /> <Display type='currency' value={row.original.fee_amount} />
</span> </span>

View File

@ -1,7 +1,9 @@
{ {
"amount": "Amount", "amount": "Amount",
"couponDiscount": "Coupon Discount",
"discount": "Discount Amount",
"failed": "Failed", "failed": "Failed",
"feAmount": "Fee Amount", "feeAmount": "Fee Amount",
"method": "Payment Method", "method": "Payment Method",
"methods": { "methods": {
"alipay_f2f": "Alipay (Face to Face)", "alipay_f2f": "Alipay (Face to Face)",
@ -11,7 +13,6 @@
"stripe_wechat_pay": "Stripe (WeChat)" "stripe_wechat_pay": "Stripe (WeChat)"
}, },
"orderNumber": "Order Number", "orderNumber": "Order Number",
"reductionPrice": "Discount Amount",
"status": "Order Status", "status": "Order Status",
"subscribe": "Subscribe", "subscribe": "Subscribe",
"subscribePrice": "Subscription Price", "subscribePrice": "Subscription Price",

View File

@ -1,7 +1,9 @@
{ {
"amount": "金额", "amount": "金额",
"couponDiscount": "优惠券折扣",
"discount": "折扣金额",
"failed": "失败", "failed": "失败",
"feAmount": "手续费", "feeAmount": "手续费",
"method": "支付方式", "method": "支付方式",
"methods": { "methods": {
"alipay_f2f": "支付宝(面对面)", "alipay_f2f": "支付宝(面对面)",
@ -11,7 +13,6 @@
"stripe_wechat_pay": "Stripe(微信)" "stripe_wechat_pay": "Stripe(微信)"
}, },
"orderNumber": "订单编号", "orderNumber": "订单编号",
"reductionPrice": "优惠金额",
"status": { "status": {
"0": "状态", "0": "状态",
"1": "待支付", "1": "待支付",