feat(accounting): add view transactions component

Add view transactions component, ability to revert transaction and
viewing journal entry details.

Fixes #139
This commit is contained in:
abhay_1806
2018-07-21 21:06:58 +05:30
committed by Abhay Chawla
parent a22bd6d1e5
commit ec7e871ac6
17 changed files with 509 additions and 8 deletions
@@ -4,6 +4,7 @@ import { Routes, RouterModule } from '@angular/router';
import { Route, extract } from '../core';
import { AccountingComponent } from './accounting.component';
import { FrequentPostingsComponent } from './frequent-postings/frequent-postings.component';
import { ViewTransactionComponent } from './view-transaction/view-transaction.component';
const routes: Routes = [
Route.withShell([
@@ -19,6 +20,17 @@ const routes: Routes = [
path: 'frequent-postings',
component: FrequentPostingsComponent,
data: { title: extract('Frequent Postings'), breadcrumb: 'Frequent Postings' }
},
{
path: 'transactions',
data: { title: extract('Transactions'), breadcrumb: 'Transactions' },
children: [
{
path: 'view/:id',
component: ViewTransactionComponent,
data: { title: extract('View Transaction'), routeParamBreadcrumb: 'id' }
}
]
}
]
}