Jun 28 - Implement payment functions (Stripe)
This commit is contained in:
@@ -119,6 +119,13 @@ def tenant_detail(tenant_id):
|
||||
'db_host': t.db_host, 'db_port': t.db_port,
|
||||
'alembic_head': t.alembic_head, 'created_at': t.created_at,
|
||||
'suspended_at': t.suspended_at, 'notes': t.notes,
|
||||
# MT-8: billing fields (read-only in panel)
|
||||
'subscription_status': t.subscription_status,
|
||||
'trial_ends_at': t.trial_ends_at,
|
||||
'current_period_end': t.current_period_end,
|
||||
'stripe_customer_id': t.stripe_customer_id,
|
||||
'stripe_subscription_id': t.stripe_subscription_id,
|
||||
'billing_email': t.billing_email,
|
||||
}
|
||||
plan_rows = [{'id': p.id, 'code': p.code, 'name': p.name} for p in plans]
|
||||
domain_rows = [
|
||||
|
||||
Reference in New Issue
Block a user