mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix bugs.
This commit is contained in:
@@ -6,17 +6,14 @@ export default [
|
||||
// Homepage
|
||||
{
|
||||
path: `${BASE_URL}/homepage`,
|
||||
name: 'dashboard.homepage',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Homepage')
|
||||
}),
|
||||
exact: true
|
||||
},
|
||||
|
||||
// Accounts.
|
||||
{
|
||||
path: `${BASE_URL}/accounts`,
|
||||
name: 'dashboard.accounts',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Accounts/AccountsChart')
|
||||
})
|
||||
@@ -25,14 +22,12 @@ export default [
|
||||
// Custom views.
|
||||
{
|
||||
path: `${BASE_URL}/custom_views/:resource_slug/new`,
|
||||
name: 'dashboard.custom_view.new',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Views/ViewFormPage')
|
||||
})
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/custom_views/:view_id/edit`,
|
||||
name: 'dashboard.custom_view.edit',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Views/ViewFormPage')
|
||||
})
|
||||
@@ -41,15 +36,12 @@ export default [
|
||||
// Expenses.
|
||||
{
|
||||
path: `${BASE_URL}/expenses/new`,
|
||||
name: 'dashboard.expense.new',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Expenses/ExpenseForm')
|
||||
}),
|
||||
text: 'New Expense'
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/expenses`,
|
||||
name: 'dashboard.expeneses.list',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Expenses/ExpensesList')
|
||||
})
|
||||
@@ -58,39 +50,31 @@ export default [
|
||||
// Accounting
|
||||
{
|
||||
path: `${BASE_URL}/accounting/make-journal-entry`,
|
||||
name: 'dashboard.accounting.make.journal',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import('containers/Dashboard/Accounting/MakeJournalEntriesPage')
|
||||
}),
|
||||
text: 'Make Journal Entry'
|
||||
},
|
||||
|
||||
{
|
||||
path: `${BASE_URL}/accounting/manual-journals/:id/edit`,
|
||||
name: 'dashboard.manual.journal.edit',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import('containers/Dashboard/Accounting/MakeJournalEntriesPage')
|
||||
}),
|
||||
},
|
||||
|
||||
{
|
||||
path: `${BASE_URL}/accounting/manual-journals`,
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import('containers/Dashboard/Accounting/ManualJournalsTable')
|
||||
}),
|
||||
text: 'Manual Journals'
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/items/categories`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Dashboard/Items/ItemsCategoryList')
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/items/new`,
|
||||
component: LazyLoader({
|
||||
@@ -109,7 +93,6 @@ export default [
|
||||
// Financial Reports.
|
||||
{
|
||||
path: `${BASE_URL}/accounting/general-ledger`,
|
||||
name: 'dashboard.accounting.general.ledger',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import(
|
||||
@@ -119,7 +102,6 @@ export default [
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/accounting/balance-sheet`,
|
||||
name: 'dashboard.accounting.balance.sheet',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import(
|
||||
@@ -129,7 +111,6 @@ export default [
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/accounting/trial-balance-sheet`,
|
||||
name: 'dashboard.accounting.trial.balance',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import(
|
||||
@@ -139,7 +120,6 @@ export default [
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/accounting/profit-loss-sheet`,
|
||||
name: 'dashboard.accounting.profit.loss.sheet',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import(
|
||||
@@ -149,10 +129,9 @@ export default [
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/accounting/journal-sheet`,
|
||||
name: 'dashboard.accounting.journal.sheet',
|
||||
component: LazyLoader({
|
||||
loader: () =>
|
||||
import('containers/Dashboard/FinancialStatements/Journal/Journal')
|
||||
})
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user