🐛 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>
</li>
<li className='flex items-center justify-between'>
<span className='text-muted-foreground'>{t('reductionPrice')}</span>
<span className='text-muted-foreground'>{t('discount')}</span>
<span>
<Display type='currency' value={row.original.reduction} />
<Display type='currency' value={row.original.discount} />
</span>
</li>
<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>
<Display type='currency' value={row.original.fee_amount} />
</span>

View File

@ -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",

View File

@ -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": "待支付",