Improve subcription support
This commit is contained in:
@@ -123,6 +123,7 @@ export const ROUTES = {
|
||||
SETTINGS_INTEGRATIONS: '/settings/integrations',
|
||||
SETTINGS_PREFERENCES: '/settings/preferences',
|
||||
SETTINGS_BILLING: '/settings/billing',
|
||||
SETTINGS_SUBSCRIPTION: '/app/settings/subscription',
|
||||
|
||||
// Reports
|
||||
REPORTS: '/reports',
|
||||
@@ -399,6 +400,17 @@ export const routesConfig: RouteConfig[] = [
|
||||
showInNavigation: true,
|
||||
showInBreadcrumbs: true,
|
||||
},
|
||||
{
|
||||
path: '/app/settings/subscription',
|
||||
name: 'Subscription',
|
||||
component: 'SubscriptionPage',
|
||||
title: 'Suscripción y Facturación',
|
||||
icon: 'credit-card',
|
||||
requiresAuth: true,
|
||||
requiredRoles: ['admin', 'owner'],
|
||||
showInNavigation: true,
|
||||
showInBreadcrumbs: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user