refractor: self service module (#291)
* Refractor components. * Improve responsiveness of components. * Add task management component. * Add users data resolver. * Add relative router links. * Replace mat-icons by font-awesome icons. * Add comments. Fixes #290
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Edit self service user component.
|
||||
*
|
||||
* TODO: Complete functionality once API is available.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'mifosx-edit-user',
|
||||
templateUrl: './edit-user.component.html',
|
||||
@@ -7,9 +13,16 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class EditUserComponent implements OnInit {
|
||||
|
||||
officeData: string[];
|
||||
staffData: string[];
|
||||
genderData: string[];
|
||||
/** Placeholder for office data. */
|
||||
officeData: any;
|
||||
/** Placeholder for staff data. */
|
||||
staffData: any;
|
||||
/** Placeholder for gender data. */
|
||||
genderData: any;
|
||||
/** Minimum date of birth of user allowed. */
|
||||
minDate = new Date(1900, 0, 1);
|
||||
/** Maximum date of birth of user allowed. */
|
||||
maxDate = new Date();
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user