From d8d05466a1e7e4d7203ff7b506e182e07060a315 Mon Sep 17 00:00:00 2001 From: abhay_1806 Date: Thu, 19 Jul 2018 13:20:03 +0530 Subject: [PATCH] feat(accounting): update accounting component Update accounting component with angular material. Fixes #130 --- .../accounting/accounting-routing.module.ts | 2 +- src/app/accounting/accounting.component.html | 147 ++++++++++++------ src/app/accounting/accounting.module.ts | 3 +- .../core/shell/toolbar/toolbar.component.html | 2 +- 4 files changed, 106 insertions(+), 48 deletions(-) diff --git a/src/app/accounting/accounting-routing.module.ts b/src/app/accounting/accounting-routing.module.ts index 8e08324a0..23ac8bf27 100644 --- a/src/app/accounting/accounting-routing.module.ts +++ b/src/app/accounting/accounting-routing.module.ts @@ -9,7 +9,7 @@ const routes: Routes = [ { path: 'accounting', component: AccountingComponent, - data: { title: extract('Accounting') } + data: { title: extract('Accounting'), breadcrumb: 'Accounting' } } ]) ]; diff --git a/src/app/accounting/accounting.component.html b/src/app/accounting/accounting.component.html index 17b610f37..f98735e6e 100644 --- a/src/app/accounting/accounting.component.html +++ b/src/app/accounting/accounting.component.html @@ -1,47 +1,104 @@ - + + + diff --git a/src/app/accounting/accounting.module.ts b/src/app/accounting/accounting.module.ts index 099dea786..1cd7372e8 100644 --- a/src/app/accounting/accounting.module.ts +++ b/src/app/accounting/accounting.module.ts @@ -4,6 +4,7 @@ import { CommonModule } from '@angular/common'; import { CoreModule } from '../core/core.module'; import { AccountingComponent } from './accounting.component'; import { AccountingRoutingModule } from './accounting-routing.module'; +import { FrequentPostingsComponent } from './frequent-postings/frequent-postings.component'; @NgModule({ imports: [ @@ -11,6 +12,6 @@ import { AccountingRoutingModule } from './accounting-routing.module'; CommonModule, AccountingRoutingModule ], - declarations: [AccountingComponent] + declarations: [AccountingComponent, FrequentPostingsComponent] }) export class AccountingModule { } diff --git a/src/app/core/shell/toolbar/toolbar.component.html b/src/app/core/shell/toolbar/toolbar.component.html index 82360d8e6..984def726 100644 --- a/src/app/core/shell/toolbar/toolbar.component.html +++ b/src/app/core/shell/toolbar/toolbar.component.html @@ -18,7 +18,7 @@ - + account_balance Accounting