add interest
This commit is contained in:
@@ -43,6 +43,7 @@ export type WizardState = {
|
||||
items: Item[]
|
||||
enrollments: Enrollment[]
|
||||
coupon?: Coupon
|
||||
installments?: number
|
||||
payment_method?: PaymentMethod
|
||||
credit_card?: CreditCard
|
||||
}
|
||||
@@ -54,6 +55,7 @@ const emptyWizard: WizardState = {
|
||||
enrollments: [],
|
||||
coupon: undefined,
|
||||
payment_method: undefined,
|
||||
installments: undefined,
|
||||
credit_card: undefined
|
||||
}
|
||||
|
||||
@@ -204,6 +206,7 @@ export default function Route({
|
||||
{/* Payment */}
|
||||
<WizardStep name="payment">
|
||||
<Payment
|
||||
state={state}
|
||||
payment_method={state.payment_method}
|
||||
credit_card={state.credit_card}
|
||||
onSubmit={(data: any) => {
|
||||
|
||||
Reference in New Issue
Block a user