committed by
Abhay Chawla
parent
4f1dbc5821
commit
0a9d4892eb
@@ -0,0 +1,43 @@
|
||||
<div class="container">
|
||||
|
||||
<mat-card>
|
||||
|
||||
<div fxLayout="row" fxLayout.lt-md="column">
|
||||
|
||||
<div fxFlex="50%">
|
||||
|
||||
<mat-nav-list>
|
||||
|
||||
<mat-list-item>
|
||||
<mat-icon matListIcon>
|
||||
<fa-icon icon="building" size="sm"></fa-icon>
|
||||
</mat-icon>
|
||||
<h4 matLine>Manage Tax Components</h4>
|
||||
<p matLine>Define Tax components</p>
|
||||
</mat-list-item>
|
||||
|
||||
</mat-nav-list>
|
||||
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%">
|
||||
|
||||
<mat-nav-list>
|
||||
|
||||
<mat-list-item>
|
||||
<mat-icon matListIcon>
|
||||
<fa-icon icon="building" size="sm"></fa-icon>
|
||||
</mat-icon>
|
||||
<h4 matLine>Manage Tax Groups</h4>
|
||||
<p matLine>Define Tax Groups</p>
|
||||
</mat-list-item>
|
||||
|
||||
</mat-nav-list>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</mat-card>
|
||||
|
||||
</div>
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ManageTaxConfigurationsComponent } from './manage-tax-configurations.component';
|
||||
|
||||
describe('ManageTaxConfigurationsComponent', () => {
|
||||
let component: ManageTaxConfigurationsComponent;
|
||||
let fixture: ComponentFixture<ManageTaxConfigurationsComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ManageTaxConfigurationsComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ManageTaxConfigurationsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Manage Tax Configurations component.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-manage-tax-configurations',
|
||||
templateUrl: './manage-tax-configurations.component.html',
|
||||
})
|
||||
export class ManageTaxConfigurationsComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -10,8 +10,7 @@ import { extract } from '../core/i18n/i18n.service';
|
||||
|
||||
/** Custom Components */
|
||||
import { ProductsComponent } from './products.component';
|
||||
|
||||
/** Custom Resolvers */
|
||||
import { ManageTaxConfigurationsComponent } from './manage-tax-configurations/manage-tax-configurations.component';
|
||||
|
||||
/** Products Routes */
|
||||
const routes: Routes = [
|
||||
@@ -24,6 +23,11 @@ const routes: Routes = [
|
||||
path: '',
|
||||
component: ProductsComponent
|
||||
},
|
||||
{
|
||||
path: 'tax-configurations',
|
||||
component: ManageTaxConfigurationsComponent,
|
||||
data: { title: extract('Manage Tax Configurations'), breadcrumb: 'Manage Tax Configurations' },
|
||||
},
|
||||
]
|
||||
}
|
||||
])
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<p matLine>Add, modify or inactivate a Recurring Deposit product</p>
|
||||
</mat-list-item>
|
||||
|
||||
<mat-list-item [routerLink]="['manage-tax-configurations']">
|
||||
<mat-list-item [routerLink]="['tax-configurations']">
|
||||
<mat-icon matListIcon>
|
||||
<fa-icon icon="cogs" size="sm"></fa-icon>
|
||||
</mat-icon>
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ProductsRoutingModule } from './products-routing.module';
|
||||
|
||||
/** Custom Components */
|
||||
import { ProductsComponent } from './products.component';
|
||||
|
||||
import { ManageTaxConfigurationsComponent } from './manage-tax-configurations/manage-tax-configurations.component';
|
||||
|
||||
/**
|
||||
* Products Module
|
||||
@@ -21,6 +21,7 @@ import { ProductsComponent } from './products.component';
|
||||
],
|
||||
declarations: [
|
||||
ProductsComponent,
|
||||
ManageTaxConfigurationsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
]
|
||||
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
faBars,
|
||||
faBell,
|
||||
faBriefcase,
|
||||
faBuilding,
|
||||
faCalendar,
|
||||
faChartBar,
|
||||
faCheckCircle,
|
||||
@@ -69,6 +70,7 @@ library.add(
|
||||
faBars,
|
||||
faBell,
|
||||
faBriefcase,
|
||||
faBuilding,
|
||||
faCalendar,
|
||||
faChartBar,
|
||||
faCheckCircle,
|
||||
|
||||
Reference in New Issue
Block a user