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:
José Alberto Hernández
2023-08-29 19:51:32 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent 2dab3b70ca
commit 80936a3ea9
336 changed files with 6657 additions and 5698 deletions
@@ -1,7 +1,7 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl } from '@angular/forms';
/** Custom Services */
import { AccountTransfersService } from '../account-transfers.service';
@@ -27,7 +27,7 @@ export class CreateStandingInstructionsComponent implements OnInit {
/** Allow Client Edit */
allowclientedit = true;
/** Edit Standing Instructions form. */
createStandingInstructionsForm: FormGroup;
createStandingInstructionsForm: UntypedFormGroup;
/** Priority Type Data */
priorityTypeData: any;
/** Status Type Data */
@@ -72,7 +72,7 @@ export class CreateStandingInstructionsComponent implements OnInit {
* @param {SettingsService} settingsService Settings Service
* @param {Dates} dateUtils Date Utils
*/
constructor(private formBuilder: FormBuilder,
constructor(private formBuilder: UntypedFormBuilder,
private route: ActivatedRoute,
private router: Router,
private accountTransfersService: AccountTransfersService,
@@ -1,7 +1,7 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup, Validators, FormControl } from '@angular/forms';
/** Custom Services */
import { AccountTransfersService } from '../account-transfers.service';
@@ -25,7 +25,7 @@ export class EditStandingInstructionsComponent implements OnInit {
/** Allow Client Edit */
allowclientedit = false;
/** Edit Standing Instructions form. */
editStandingInstructionsForm: FormGroup;
editStandingInstructionsForm: UntypedFormGroup;
/** Priority Type Data */
priorityTypeData: any;
/** Status Type Data */
@@ -50,7 +50,7 @@ export class EditStandingInstructionsComponent implements OnInit {
* @param {SettingsService} settingsService Settings Service
* @param {Dates} dateUtils Date Utils
*/
constructor(private formBuilder: FormBuilder,
constructor(private formBuilder: UntypedFormBuilder,
private route: ActivatedRoute,
private router: Router,
private accountTransfersService: AccountTransfersService,
@@ -4,7 +4,7 @@ import { MatDialog } from '@angular/material/dialog';
import { MatPaginator } from '@angular/material/paginator';
import { MatTableDataSource, MatTable } from '@angular/material/table';
import { ActivatedRoute } from '@angular/router';
import { FormControl } from '@angular/forms';
import { UntypedFormControl } from '@angular/forms';
/** Custom Services */
import { AccountTransfersService } from '../account-transfers.service';
@@ -28,13 +28,13 @@ export class ListStandingInstructionsComponent implements OnInit {
/** Instructions Data */
instructionsData: any[];
/** Name form control. */
transferType = new FormControl();
transferType = new UntypedFormControl();
/** ExternalId form control. */
fromAccountId = new FormControl();
fromAccountId = new UntypedFormControl();
/** Name form control. */
clientNameControl = new FormControl();
clientNameControl = new UntypedFormControl();
/** ExternalId form control. */
fromClientId = new FormControl();
fromClientId = new UntypedFormControl();
/** Client Name */
clientName: any;
/** Transfer Type Options Data */
@@ -1,7 +1,7 @@
/** Angular Imports */
import { Component, OnInit, AfterViewInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
/** Custom Services */
import { AccountTransfersService } from '../account-transfers.service';
@@ -27,7 +27,7 @@ export class MakeAccountTransfersComponent implements OnInit, AfterViewInit {
/** Maximum date allowed. */
maxDate = new Date(2100, 0, 1);
/** Edit Standing Instructions form. */
makeAccountTransferForm: FormGroup;
makeAccountTransferForm: UntypedFormGroup;
/** To Office Type Data */
toOfficeTypeData: any;
/** To Client Type Data */
@@ -55,7 +55,7 @@ export class MakeAccountTransfersComponent implements OnInit, AfterViewInit {
* @param {SettingsService} settingsService Settings Service
* @param {ClientsService} clientsService Clients Service
*/
constructor(private formBuilder: FormBuilder,
constructor(private formBuilder: UntypedFormBuilder,
private route: ActivatedRoute,
private router: Router,
private accountTransfersService: AccountTransfersService,