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
@@ -2,7 +2,7 @@
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import { FormControl } from '@angular/forms';
import { UntypedFormControl } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
/** rxjs Imports */
@@ -31,19 +31,19 @@ export class SearchJournalEntryComponent implements OnInit, AfterViewInit {
/** Maximum transaction date allowed. */
maxDate = new Date();
/** Office name filter form control. */
officeName = new FormControl();
officeName = new UntypedFormControl();
/** Office data. */
officeData: any;
/** Filtered office data for autocomplete. */
filteredOfficeData: any;
/** Gl Account filter form control. */
glAccount = new FormControl();
glAccount = new UntypedFormControl();
/** Gl Account data. */
glAccountData: any;
/** Filtered gl account data. */
filteredGLAccountData: any;
/** Entry type filter form control. */
entryTypeFilter = new FormControl('');
entryTypeFilter = new UntypedFormControl('');
/** Entry type filter data. */
entryTypeFilterData = [
{
@@ -60,15 +60,15 @@ export class SearchJournalEntryComponent implements OnInit, AfterViewInit {
}
];
/** Transaction date from form control. */
transactionDateFrom = new FormControl(new Date(new Date().setMonth(new Date().getMonth() - 1)));
transactionDateFrom = new UntypedFormControl(new Date(new Date().setMonth(new Date().getMonth() - 1)));
/** Transaction date to form control. */
transactionDateTo = new FormControl(new Date());
transactionDateTo = new UntypedFormControl(new Date());
/** Transaction ID form control. */
transactionId = new FormControl();
transactionId = new UntypedFormControl();
/** Submitted on date from form control. */
submittedOnDateFrom = new FormControl();
submittedOnDateFrom = new UntypedFormControl();
/** Submitted on date to form control. */
submittedOnDateTo = new FormControl();
submittedOnDateTo = new UntypedFormControl();
/** Columns to be displayed in journal entries table. */
displayedColumns: string[] = ['id', 'officeName', 'transactionId', 'transactionDate', 'glAccountType', 'createdByUserName', 'submittedOnDate', 'glAccountCode', 'glAccountName', 'currency', 'debit', 'credit'];
/** Data source for journal entries table. */