Upgrade/angular 14 (#1853)
* Fix Loan product Payment Allocation * Upgrade to Angular 14 --------- Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
2dab3b70ca
commit
80936a3ea9
+3
-3
@@ -1,5 +1,5 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
|
||||
import { LoansService } from 'app/loans/loans.service';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
|
||||
@@ -29,7 +29,7 @@ export class GlimDetailsStepComponent implements OnInit {
|
||||
/** For edit loan accounts form */
|
||||
isFieldOfficerPatched = false;
|
||||
/** Loans Account Details Form */
|
||||
loansAccountDetailsForm: FormGroup;
|
||||
loansAccountDetailsForm: UntypedFormGroup;
|
||||
|
||||
/** Loans Account Template with product data */
|
||||
@Output() loansAccountProductTemplate = new EventEmitter();
|
||||
@@ -39,7 +39,7 @@ export class GlimDetailsStepComponent implements OnInit {
|
||||
* @param {LoansService} loansService Loans Service.
|
||||
* @param {SettingsService} settingsService SettingsService
|
||||
*/
|
||||
constructor(private formBuilder: FormBuilder,
|
||||
constructor(private formBuilder: UntypedFormBuilder,
|
||||
private loansService: LoansService,
|
||||
private settingsService: SettingsService) {
|
||||
this.createLoansAccountDetailsForm();
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
import { Component, Input, OnInit, OnChanges } from '@angular/core';
|
||||
import { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';
|
||||
import { UntypedFormGroup, UntypedFormBuilder, Validators, FormArray } from '@angular/forms';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
|
||||
@Component({
|
||||
@@ -19,7 +19,7 @@ export class GlimTermsStepComponent implements OnInit, OnChanges {
|
||||
/** Maximum date allowed. */
|
||||
maxDate = new Date(2100, 0, 1);
|
||||
/** Loans Account Terms Form */
|
||||
loansAccountTermsForm: FormGroup;
|
||||
loansAccountTermsForm: UntypedFormGroup;
|
||||
/** Term Frequency Type Data */
|
||||
termFrequencyTypeData: any;
|
||||
/** Repayment Frequency Nth Day Type Data */
|
||||
@@ -42,7 +42,7 @@ export class GlimTermsStepComponent implements OnInit, OnChanges {
|
||||
* @param formBuilder FormBuilder
|
||||
* @param {SettingsService} settingsService SettingsService
|
||||
*/
|
||||
constructor(private formBuilder: FormBuilder,
|
||||
constructor(private formBuilder: UntypedFormBuilder,
|
||||
private settingsService: SettingsService) {
|
||||
this.createloansAccountTermsForm();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user