iptdevs-design-system 3.1.638 → 3.1.640
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/cod-self-managed/steps/cod-form-step-three/cod-self-form-step-three.component.mjs +7 -5
- package/fesm2015/iptdevs-design-system.mjs +6 -4
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -4
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7385,16 +7385,18 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
|
|
|
7385
7385
|
const enrollmentValueTwo = parseFloat(this.dataFinancing[0][1].replace(/[^\d.-]/g, ''));
|
|
7386
7386
|
const firstQuotaValueTwo = parseFloat(this.dataFinancing[1][1].replace(/[^\d.-]/g, ''));
|
|
7387
7387
|
this.totalInitialPayment = enrollmentValueTwo + firstQuotaValueTwo;
|
|
7388
|
+
console.log('linea, 246', this.totalInitialPayment);
|
|
7388
7389
|
const totalInitialPaymentInteger = Math.round(this.totalInitialPayment);
|
|
7389
|
-
|
|
7390
|
+
const formattedTotalInitialPayment = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0 }).format(totalInitialPaymentInteger);
|
|
7391
|
+
console.log('linea, 246', formattedTotalInitialPayment);
|
|
7390
7392
|
const combinedRecord = [
|
|
7391
7393
|
this.dataFinancing[0][0],
|
|
7392
|
-
|
|
7394
|
+
formattedTotalInitialPayment,
|
|
7393
7395
|
this.dataFinancing[0][2] // Mantener la fecha del primer registro
|
|
7394
7396
|
];
|
|
7395
|
-
console.log('linea,
|
|
7397
|
+
console.log('linea, 253', combinedRecord);
|
|
7396
7398
|
this.dataFinancing = [combinedRecord, ...this.dataFinancing.slice(2)];
|
|
7397
|
-
console.log('inea,
|
|
7399
|
+
console.log('inea, 255', this.dataFinancing);
|
|
7398
7400
|
}
|
|
7399
7401
|
this.isFinancing = true;
|
|
7400
7402
|
this.financingData.emit(this.dataFinancing);
|