feat(accounting): add frequent postings component

Add frequent postings component to create a journal entry.

Fixes #136
This commit is contained in:
abhay_1806
2018-07-21 21:06:58 +05:30
committed by Abhay Chawla
parent d8d05466a1
commit a22bd6d1e5
9 changed files with 362 additions and 6 deletions
@@ -3,13 +3,24 @@ import { Routes, RouterModule } from '@angular/router';
import { Route, extract } from '../core';
import { AccountingComponent } from './accounting.component';
import { FrequentPostingsComponent } from './frequent-postings/frequent-postings.component';
const routes: Routes = [
Route.withShell([
{
path: 'accounting',
component: AccountingComponent,
data: { title: extract('Accounting'), breadcrumb: 'Accounting' }
data: { title: extract('Accounting'), breadcrumb: 'Accounting' },
children: [
{
path: '',
component: AccountingComponent
},
{
path: 'frequent-postings',
component: FrequentPostingsComponent,
data: { title: extract('Frequent Postings'), breadcrumb: 'Frequent Postings' }
}
]
}
])
];