✨ feat(subscribe): Add subscribe_discount type
This commit is contained in:
parent
136287d85a
commit
f99c6048ad
@ -146,10 +146,7 @@ export default function Page() {
|
|||||||
<SubscribeBilling
|
<SubscribeBilling
|
||||||
order={{
|
order={{
|
||||||
...data,
|
...data,
|
||||||
coupon_discount: data?.coupon_discount,
|
|
||||||
quantity: data?.quantity,
|
|
||||||
unit_price: data?.subscribe?.unit_price,
|
unit_price: data?.subscribe?.unit_price,
|
||||||
type: data?.type,
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
1
apps/user/services/user/typings.d.ts
vendored
1
apps/user/services/user/typings.d.ts
vendored
@ -244,6 +244,7 @@ declare namespace API {
|
|||||||
coupon: string;
|
coupon: string;
|
||||||
coupon_discount: number;
|
coupon_discount: number;
|
||||||
fee_amount: number;
|
fee_amount: number;
|
||||||
|
subscribe_discount: number;
|
||||||
discount_list: SubscribeDiscountInfo[];
|
discount_list: SubscribeDiscountInfo[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user