add payment section

This commit is contained in:
2026-01-19 20:16:57 -03:00
parent ed58e26e7e
commit 6732e07dfa
13 changed files with 222 additions and 58 deletions

View File

@@ -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
}

View File

@@ -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() {