brf/client/public/routes.ts

84 lines
1.8 KiB
TypeScript

import Accounts from './components/accounts_page.tsx'
import Balances from './components/balances_page.tsx'
import Entries from './components/entries_page.tsx'
import Entry from './components/entry_page.tsx'
import Invoice from './components/invoice_page.tsx'
import Invoices from './components/invoices_page.tsx'
import InvoicesBySupplier from './components/invoices_by_supplier_page.tsx'
import Objects from './components/objects_page.tsx'
import Results from './components/results_page.tsx'
import Start from './components/start_page.tsx'
import Transactions from './components/transactions_page.tsx'
export default [
{
path: '/',
name: 'start',
title: 'Start',
component: Start,
},
{
path: '/accounts',
name: 'accounts',
title: 'Konton',
component: Accounts,
},
{
path: '/entries',
name: 'entries',
title: 'Verifikat',
component: Entries,
},
{
path: '/entries/:id',
name: 'entries-id',
title: 'Verifikat :id',
component: Entry,
nav: false,
},
{
path: '/objects',
name: 'objects',
title: 'Objekt',
component: Objects,
},
{
path: 'invoices',
name: 'invoices',
title: 'Fakturor',
component: Invoices,
},
{
path: '/invoices/:id',
name: 'invoices-id',
title: 'Faktura :id',
component: Invoice,
nav: false,
},
{
path: '/invoices/by-supplier/:supplier',
name: 'invoices-by-supplier',
title: 'Fakturor från leverantör',
component: InvoicesBySupplier,
nav: false,
},
{
path: '/balances',
name: 'balances',
title: 'Balanser',
component: Balances,
},
{
path: '/results',
name: 'results',
title: 'Resultat',
component: Results,
},
{
path: '/transactions',
name: 'transactions',
title: 'Transaktioner',
component: Transactions,
},
]