iptdevs-design-system 3.1.638 → 3.1.639

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.
@@ -7386,15 +7386,16 @@ class CodSelfFormStepThreeComponent extends CodSelfManagedSteps {
7386
7386
  const firstQuotaValueTwo = parseFloat(this.dataFinancing[1][1].replace(/[^\d.-]/g, ''));
7387
7387
  this.totalInitialPayment = enrollmentValueTwo + firstQuotaValueTwo;
7388
7388
  const totalInitialPaymentInteger = Math.round(this.totalInitialPayment);
7389
- console.log('linea, 244', this.totalInitialPayment);
7389
+ const formattedTotalInitialPayment = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(totalInitialPaymentInteger);
7390
+ console.log('linea, 246', formattedTotalInitialPayment);
7390
7391
  const combinedRecord = [
7391
7392
  this.dataFinancing[0][0],
7392
- `${totalInitialPaymentInteger}`,
7393
+ formattedTotalInitialPayment,
7393
7394
  this.dataFinancing[0][2] // Mantener la fecha del primer registro
7394
7395
  ];
7395
- console.log('linea, 251', combinedRecord);
7396
+ console.log('linea, 253', combinedRecord);
7396
7397
  this.dataFinancing = [combinedRecord, ...this.dataFinancing.slice(2)];
7397
- console.log('inea, 253', this.dataFinancing);
7398
+ console.log('inea, 255', this.dataFinancing);
7398
7399
  }
7399
7400
  this.isFinancing = true;
7400
7401
  this.financingData.emit(this.dataFinancing);