refactor: clients module (#1207)

See: #1196
This commit is contained in:
Karan Takalkar
2020-08-15 19:24:04 +05:30
committed by GitHub
parent 9861182b7d
commit c42e128b09
32 changed files with 473 additions and 249 deletions
@@ -16,7 +16,7 @@ import { ClientsService } from 'app/clients/clients.service';
})
export class RejectClientTransferComponent implements OnInit {
/** Reject Approval Savings Account form. */
/** Reject Client Transfer form. */
rejectClientTransferForm: FormGroup;
/** Client Id */
clientId: any;
@@ -39,15 +39,12 @@ export class RejectClientTransferComponent implements OnInit {
this.clientId = this.route.parent.snapshot.params['clientId'];
}
/**
* Creates the reject-approval savings form.
*/
ngOnInit() {
this.createRejectClientTransferForm();
}
/**
* Creates the reject-approval savings account form.
* Creates the reject client transfer form.
*/
createRejectClientTransferForm() {
this.rejectClientTransferForm = this.formBuilder.group({