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
+2
-2
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, OnChanges, Input } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { UntypedFormControl } from '@angular/forms';
|
||||
|
||||
/** Custom Dialogs */
|
||||
import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component';
|
||||
@@ -26,7 +26,7 @@ export class SharesAccountChargesStepComponent implements OnInit, OnChanges {
|
||||
/** Shares Account Template */
|
||||
@Input() sharesAccountTemplate: any;
|
||||
/** Currency Code */
|
||||
@Input() currencyCode: FormControl;
|
||||
@Input() currencyCode: UntypedFormControl;
|
||||
|
||||
/** Charge Data */
|
||||
chargeData: any = [];
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -26,7 +26,7 @@ export class SharesAccountDetailsStepComponent implements OnInit {
|
||||
/** Product Data */
|
||||
productData: any;
|
||||
/** Shares Account Details Form */
|
||||
sharesAccountDetailsForm: FormGroup;
|
||||
sharesAccountDetailsForm: UntypedFormGroup;
|
||||
|
||||
/** Shares Account Template with product data */
|
||||
@Output() sharesAccountProductTemplate = new EventEmitter();
|
||||
@@ -37,7 +37,7 @@ export class SharesAccountDetailsStepComponent implements OnInit {
|
||||
* @param {SharesService} sharesService Shares Service.
|
||||
* @param {SettingsService} settingsService Settings Service
|
||||
*/
|
||||
constructor(private formBuilder: FormBuilder,
|
||||
constructor(private formBuilder: UntypedFormBuilder,
|
||||
private sharesService: SharesService,
|
||||
private settingsService: SettingsService) {
|
||||
this.createSharesAccountDetailsForm();
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnChanges, OnInit, Input } from '@angular/core';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
|
||||
import { SettingsService } from 'app/settings/settings.service';
|
||||
|
||||
/**
|
||||
@@ -23,7 +23,7 @@ export class SharesAccountTermsStepComponent implements OnChanges, OnInit {
|
||||
/** Maximum date allowed. */
|
||||
maxDate = new Date();
|
||||
/** Shares Account Terms Form */
|
||||
sharesAccountTermsForm: FormGroup;
|
||||
sharesAccountTermsForm: UntypedFormGroup;
|
||||
/** Minimum Active Period Frequency Type Data */
|
||||
minimumActivePeriodFrequencyTypeData: any;
|
||||
/** Lockin Period Frequency Type Data */
|
||||
@@ -37,7 +37,7 @@ export class SharesAccountTermsStepComponent implements OnChanges, OnInit {
|
||||
* @param {FormBuilder} formBuilder Form Builder
|
||||
* @param {SettingsService} settingsService Settings Service
|
||||
*/
|
||||
constructor(private formBuilder: FormBuilder,
|
||||
constructor(private formBuilder: UntypedFormBuilder,
|
||||
private settingsService: SettingsService) {
|
||||
this.createSharesAccountTermsForm();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user