merge angular-17 into dev to upgrade from Angular v16 to v17
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ export class LoansAccountDatatableStepComponent implements OnInit {
|
||||
get payload(): any {
|
||||
const dateFormat = this.settingsService.dateFormat;
|
||||
const datatableDataValues = this.datatableForm.value;
|
||||
const data = {
|
||||
const data: { [key: string]: any } = {
|
||||
locale: this.settingsService.language.code
|
||||
};
|
||||
let existDate = false;
|
||||
|
||||
+7
-1
@@ -15,6 +15,12 @@ import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base';
|
||||
import { Currency } from 'app/shared/models/general.model';
|
||||
import { CodeName, OptionData } from 'app/shared/models/option-data.model';
|
||||
|
||||
interface DisbursementData {
|
||||
id?: number;
|
||||
principal: number;
|
||||
expectedDisbursementDate: string | Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Loans Account Terms Step
|
||||
*/
|
||||
@@ -62,7 +68,7 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges {
|
||||
/** Client Active Loan Data */
|
||||
clientActiveLoanData: any;
|
||||
/** Multi Disbursement Data */
|
||||
disbursementDataSource: {}[] = [];
|
||||
disbursementDataSource: DisbursementData[] = [];
|
||||
/** Loan repayment strategies */
|
||||
transactionProcessingStrategyOptions: any = [];
|
||||
repaymentStrategyDisabled = false;
|
||||
|
||||
+3
-1
@@ -24,7 +24,9 @@ export class EditRepaymentScheduleComponent implements OnInit {
|
||||
/** Indicates If the Schedule has been validated */
|
||||
wasValidated = false;
|
||||
/** Stores the Repayment Schedule data */
|
||||
repaymentScheduleDetails: any[] | null = null;
|
||||
repaymentScheduleDetails: {
|
||||
periods: { period?: number; dueDate: string; totalDueForPeriod?: number; changed?: boolean }[];
|
||||
} | null = null;
|
||||
/** Stores the Installments changed */
|
||||
repaymentScheduleChanges: any = {};
|
||||
|
||||
|
||||
@@ -56,7 +56,12 @@ export class RescheduleLoanTabComponent {
|
||||
if (response.confirm) {
|
||||
const locale = this.settingsService.language.code;
|
||||
const dateFormat = this.settingsService.dateFormat;
|
||||
const payload = {
|
||||
const payload: {
|
||||
dateFormat: string;
|
||||
locale: string;
|
||||
approvedOnDate?: string;
|
||||
rejectedOnDate?: string;
|
||||
} = {
|
||||
dateFormat,
|
||||
locale
|
||||
};
|
||||
|
||||
@@ -386,7 +386,7 @@ export class TransactionsTabComponent implements OnInit {
|
||||
value: this.dateUtils.parseDate(transactionDate),
|
||||
type: 'datetime-local',
|
||||
required: true,
|
||||
minDate: transaction.date,
|
||||
minDate: this.dateUtils.parseDate(transaction.date),
|
||||
order: 1
|
||||
}),
|
||||
new InputBase({
|
||||
|
||||
+1
-2
@@ -43,8 +43,7 @@
|
||||
</mat-form-field>
|
||||
|
||||
<div class="flex-fill">
|
||||
<span class="expandcollapsebutton m-l-10 m-t-40 flex-75">
|
||||
(click)="addPaymentDetails()">
|
||||
<span class="expandcollapsebutton m-l-10 m-t-40 flex-75" (click)="addPaymentDetails()">
|
||||
<mat-slide-toggle>
|
||||
<div [className]="showPaymentDetails ? 'enabled' : 'disabled'">
|
||||
<span class="m-l-10">{{ 'labels.inputs.Show Payment Details' | translate }}</span>
|
||||
|
||||
Reference in New Issue
Block a user