feat: view clients layout added (#76)
* Fetch all clients from mifos api
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import {Component, OnInit, ViewChild} from '@angular/core';
|
||||
|
||||
import { ArchwizardModule } from 'angular-archwizard';
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { HttpModule } from '@angular/http';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { CoreModule } from '../core/core.module';
|
||||
import {MatTableModule} from '@angular/material/table';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
|
||||
import { ClientsRoutingModule } from './clients-routing.module';
|
||||
import { ClientsComponent } from './clients.component';
|
||||
@@ -12,12 +14,19 @@ import { CreateClientComponent} from './create-client/create-client.component';
|
||||
import { ViewClientComponent } from './view-client/view-client.component';
|
||||
import { ViewLoanComponent } from './view-loan/view-loan.component';
|
||||
|
||||
import { ClientsService } from './clients.service';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CoreModule,
|
||||
CommonModule,
|
||||
ClientsRoutingModule,
|
||||
ArchwizardModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
FlexLayoutModule,
|
||||
BrowserModule, // tslint:disable
|
||||
HttpModule,
|
||||
MatTableModule
|
||||
],
|
||||
declarations: [
|
||||
ClientsComponent,
|
||||
@@ -25,6 +34,10 @@ import { ViewLoanComponent } from './view-loan/view-loan.component';
|
||||
ViewClientComponent,
|
||||
ViewLoanComponent
|
||||
],
|
||||
providers: [
|
||||
ClientsService,
|
||||
HttpModule // tslint:disable
|
||||
],
|
||||
schemas: [
|
||||
CUSTOM_ELEMENTS_SCHEMA
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user