feat: view clients layout added (#76)

* Fetch all clients from mifos api
This commit is contained in:
Anwesh Nayak
2018-06-29 04:29:54 +05:30
committed by GitHub
parent 46a51073be
commit d287dd60c0
9 changed files with 379 additions and 160 deletions
@@ -1,5 +1,5 @@
import { Component, OnInit} from '@angular/core';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
@Component({
selector: 'mifosx-create-client',
templateUrl: './create-client.component.html',
@@ -7,9 +7,19 @@ import { Component, OnInit} from '@angular/core';
})
export class CreateClientComponent implements OnInit {
constructor() { }
isLinear = false;
firstFormGroup: FormGroup;
secondFormGroup: FormGroup;
constructor(private _formBuilder: FormBuilder) { }
ngOnInit() {
this.firstFormGroup = this._formBuilder.group({
firstCtrl: ['', Validators.required]
});
this.secondFormGroup = this._formBuilder.group({
secondCtrl: ['', Validators.required]
});
}
}