mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: Move billing to preferences (#566)
* feat: move billing to preferences * chore: remove the commented lines
This commit is contained in:
@@ -1231,13 +1231,6 @@ export const getDashboardRoutes = () => [
|
||||
breadcrumb: 'Bank Rules',
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
{
|
||||
path: '/billing',
|
||||
component: lazy(() => import('@/containers/Subscriptions/BillingPage')),
|
||||
pageTitle: 'Billing',
|
||||
breadcrumb: 'Billing',
|
||||
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
|
||||
},
|
||||
// Homepage
|
||||
{
|
||||
path: `/`,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// @ts-nocheck
|
||||
import { lazy } from 'react';
|
||||
import General from '@/containers/Preferences/General/General';
|
||||
import Users from '../containers/Preferences/Users/Users';
|
||||
import Roles from '../containers/Preferences/Users/Roles/RolesForm/RolesFormPage';
|
||||
@@ -12,7 +13,9 @@ import Branches from '../containers/Preferences/Branches';
|
||||
import Invoices from '../containers/Preferences/Invoices/PreferencesInvoices';
|
||||
import { PreferencesCreditNotes } from '../containers/Preferences/CreditNotes/PreferencesCreditNotes';
|
||||
import { PreferencesEstimates } from '@/containers/Preferences/Estimates/PreferencesEstimates';
|
||||
import{ PreferencesReceipts } from '@/containers/Preferences/Receipts/PreferencesReceipts'
|
||||
import { PreferencesReceipts } from '@/containers/Preferences/Receipts/PreferencesReceipts';
|
||||
|
||||
import BillingPage from '@/containers/Subscriptions/BillingPage';
|
||||
|
||||
const BASE_URL = '/preferences';
|
||||
|
||||
@@ -87,6 +90,11 @@ export default [
|
||||
component: SMSIntegration,
|
||||
exact: true,
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/billing`,
|
||||
component: BillingPage,
|
||||
exact: true,
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/`,
|
||||
component: DefaultRoute,
|
||||
|
||||
Reference in New Issue
Block a user