Lots of refactor with auth guards and functional customer routing

This commit is contained in:
piratefinn 2017-08-31 18:44:17 +01:00
parent 52fbda7157
commit 24037e0454
13 changed files with 143 additions and 1017 deletions

View file

@ -16,11 +16,11 @@ export class AddDataComponent {
employeeForm: FormGroup;
transactionForm: FormGroup;
payrollFormStatus: any;
suppliersFormStatus: any;
singleSupplierFormStatus: any;
employeeFormStatus: any;
transactionFormStatus: any;
transactionFormStatusError: string = 'Error received, please try again.';
accountType: any;
submitOrg = {
name: '',
@ -77,6 +77,7 @@ export class AddDataComponent {
ngOnInit(): void {
this.getMinDate();
this.accountType = localStorage.getItem('usertype');
}
getMinDate(){