add payment section
This commit is contained in:
@@ -2,7 +2,11 @@ import type { Org as Org_ } from '../_app.orgs._index/columns'
|
||||
|
||||
export type Subscription = {
|
||||
billing_day: number
|
||||
payment_method: 'BANK_SLIP' | 'MANUAL'
|
||||
}
|
||||
|
||||
export type Billing = {
|
||||
due_days: number
|
||||
payment_methot: 'BANK_SLIP' | 'MANUAL'
|
||||
}
|
||||
|
||||
export type Address = {
|
||||
@@ -14,4 +18,5 @@ export type Org = Org_ & {
|
||||
address?: Address
|
||||
subscription?: Subscription
|
||||
subscription_frozen?: boolean
|
||||
billing: Billing
|
||||
}
|
||||
|
||||
@@ -26,7 +26,8 @@ import type { Org } from './data'
|
||||
const links = [
|
||||
{ to: '', title: 'Perfil', end: true },
|
||||
{ to: 'address', title: 'Endereço' },
|
||||
{ to: 'subscription', title: 'Plano' }
|
||||
{ to: 'subscription', title: 'Plano' },
|
||||
{ to: 'billing', title: 'Pagamentos' }
|
||||
]
|
||||
|
||||
export function meta() {
|
||||
|
||||
Reference in New Issue
Block a user