bdpformulas 1.0.99 → 1.0.100

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.
@@ -92,7 +92,7 @@ class AdministacionLineas {
92
92
  linea.destino = finded?.destino || null;
93
93
  linea.usado = finded?.usado || 0;
94
94
  linea.fechaVenc = finded?.fechaVenc || null;
95
- linea.montoConVenc = finded.montoConVenc || 0;
95
+ linea.montoConVenc = finded?.montoConVenc || 0;
96
96
  linea.tasa = finded?.tasa || 0;
97
97
  linea.interes = finded?.interes || 0;
98
98
  // linea.montoConVenc =
@@ -68,7 +68,7 @@ class AplicacionesCuadroAlternativo {
68
68
  }
69
69
  caculate001(row) {
70
70
  this.addMontos(row);
71
- const filterLineas = this.admLineas.filter((item) => (item.rubroId = 'ACT_DEU_71003'));
71
+ const filterLineas = this.admLineas.filter((item) => item.rubroId === 'ACT_DEU_71003');
72
72
  for (let item of filterLineas) {
73
73
  let nuevo = {};
74
74
  nuevo.id = row.id;
@@ -127,7 +127,6 @@ class DeudasStrategy {
127
127
  destino[`Monto${i}`] = sum[`Monto${i}`];
128
128
  }
129
129
  }
130
- console.log('RESULTADO SUM', sum);
131
130
  return sum;
132
131
  }, null);
133
132
  return destino;
@@ -192,7 +191,6 @@ class DeudasStrategy {
192
191
  return calculator.getLineasManuales();
193
192
  }
194
193
  getResumenFinanciamiento() {
195
- console.log('DEUDAS FORMULA', this.data.Deudas);
196
194
  const calculator = new resumenFinanciamiento_1.default(this.data.Deudas, this.data.CantidadProyeccion);
197
195
  return calculator.generateResumen();
198
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bdpformulas",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",