feat: view clients layout added (#76)
* Fetch all clients from mifos api
This commit is contained in:
@@ -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]
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user