bdpformulas 1.0.96 → 1.0.99
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/build/models/eeff/admFinanciera/index.d.ts +27 -0
- package/build/models/eeff/balanceProyectado.d.ts +75 -0
- package/build/models/eeff/balanceProyectado.js +34 -0
- package/build/models/eeff/supuestos.d.ts +15 -0
- package/build/models/eeff/supuestos.js +17 -1
- package/build/strategies/balance.strategy.js +6 -5
- package/build/strategies/eeff/admFinanciera/lineasMixtasHandler.d.ts +3 -0
- package/build/strategies/eeff/admFinanciera/lineasMixtasHandler.js +23 -2
- package/build/strategies/eeff/admFinanciera/prestamoBajoLineaHandler.d.ts +4 -2
- package/build/strategies/eeff/admFinanciera/prestamoBajoLineaHandler.js +9 -0
- package/build/strategies/eeff/admFinanciera/prestamoDirectoHandler.d.ts +8 -2
- package/build/strategies/eeff/admFinanciera/prestamoDirectoHandler.js +38 -0
- package/build/strategies/eeff/admFinanciera/prestamoLeasingHandler.d.ts +10 -2
- package/build/strategies/eeff/admFinanciera/prestamoLeasingHandler.js +89 -3
- package/build/strategies/eeff/admFinanciera.strategy.d.ts +2 -0
- package/build/strategies/eeff/admFinanciera.strategy.js +37 -1
- package/build/strategies/eeff/balanceProyectado/balanceHandler.d.ts +77 -0
- package/build/strategies/eeff/balanceProyectado/balanceHandler.js +760 -0
- package/build/strategies/eeff/balanceProyectado/balanceProyectado.strategy.d.ts +15 -4
- package/build/strategies/eeff/balanceProyectado/balanceProyectado.strategy.js +165 -3
- package/build/strategies/eeff/balanceProyectado/eerrHandler.d.ts +33 -0
- package/build/strategies/eeff/balanceProyectado/eerrHandler.js +284 -0
- package/build/strategies/eeff/balanceProyectado/flujoCajaHandler.d.ts +46 -0
- package/build/strategies/eeff/balanceProyectado/flujoCajaHandler.js +294 -0
- package/build/strategies/eeff/balanceProyectado/map.d.ts +10 -0
- package/build/strategies/eeff/balanceProyectado/map.js +24 -0
- package/build/strategies/eeff/index.d.ts +1 -0
- package/build/strategies/eeff/index.js +9240 -0
- package/build/strategies/eeff/mappings/balance.d.ts +5 -1
- package/build/strategies/eeff/mappings/balance.js +481 -66
- package/build/strategies/eeff/mappings/balanceProyectado.d.ts +2 -0
- package/build/strategies/eeff/mappings/balanceProyectado.js +774 -0
- package/build/strategies/eeff/mappings/indices.d.ts +4 -0
- package/build/strategies/eeff/mappings/indices.js +262 -0
- package/build/strategies/eeff/mappings/supuestos.d.ts +4 -0
- package/build/strategies/eeff/mappings/supuestos.js +476 -0
- package/build/strategies/eeff/supuestos.strategy.d.ts +19 -0
- package/build/strategies/eeff/supuestos.strategy.js +130 -0
- package/build/strategies/utils.d.ts +1 -0
- package/build/strategies/utils.js +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BalanceHandler = void 0;
|
|
4
|
+
const balanceProyectado_1 = require("../../../models/eeff/balanceProyectado");
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
const proyeccionPrestamosDirectosHandler_1 = require("../admFinanciera/proyeccionPrestamosDirectosHandler");
|
|
7
|
+
const utils_2 = require("../admFinanciera/utils");
|
|
8
|
+
class BalanceHandler {
|
|
9
|
+
data;
|
|
10
|
+
eerrHandler = null;
|
|
11
|
+
constructor(data) {
|
|
12
|
+
this.data = data;
|
|
13
|
+
}
|
|
14
|
+
setEERRHandler(eerrHandler) {
|
|
15
|
+
this.eerrHandler = eerrHandler;
|
|
16
|
+
}
|
|
17
|
+
calcular() {
|
|
18
|
+
for (let i = 1; i <= this.data.data.CantidadProyeccion; i++) {
|
|
19
|
+
//activos circulantes
|
|
20
|
+
this.set22(i);
|
|
21
|
+
this.set24(i);
|
|
22
|
+
this.set25(i);
|
|
23
|
+
this.set26(i);
|
|
24
|
+
this.set27(i);
|
|
25
|
+
this.set28(i);
|
|
26
|
+
this.set29(i);
|
|
27
|
+
//activos no circulantes
|
|
28
|
+
this.set31(i);
|
|
29
|
+
this.set32(i);
|
|
30
|
+
this.set33(i);
|
|
31
|
+
this.set34(i);
|
|
32
|
+
this.set35(i);
|
|
33
|
+
this.set36(i);
|
|
34
|
+
this.set37(i);
|
|
35
|
+
this.set38(i);
|
|
36
|
+
this.set39(i);
|
|
37
|
+
this.set40(i);
|
|
38
|
+
this.set41(i);
|
|
39
|
+
this.set42(i);
|
|
40
|
+
//pasivos circulantes
|
|
41
|
+
this.set46(i);
|
|
42
|
+
this.set47(i);
|
|
43
|
+
this.set48(i);
|
|
44
|
+
this.set49(i);
|
|
45
|
+
this.set50(i);
|
|
46
|
+
this.set52(i);
|
|
47
|
+
this.set53(i);
|
|
48
|
+
this.set54(i);
|
|
49
|
+
this.set55(i);
|
|
50
|
+
this.set56(i);
|
|
51
|
+
this.set57(i);
|
|
52
|
+
this.set58(i);
|
|
53
|
+
this.set59(i);
|
|
54
|
+
//pasivos no circulantes
|
|
55
|
+
this.set61(i);
|
|
56
|
+
this.set62(i);
|
|
57
|
+
this.set63(i);
|
|
58
|
+
this.set64(i);
|
|
59
|
+
this.set65(i);
|
|
60
|
+
this.set66(i);
|
|
61
|
+
this.set67(i);
|
|
62
|
+
this.set68(i);
|
|
63
|
+
this.set69(i);
|
|
64
|
+
this.set70(i);
|
|
65
|
+
//capital
|
|
66
|
+
this.set73(i);
|
|
67
|
+
this.set74(i);
|
|
68
|
+
this.set75(i);
|
|
69
|
+
this.set77(i);
|
|
70
|
+
this.set78(i);
|
|
71
|
+
this.set83(i);
|
|
72
|
+
this.set84(i);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
setTotales() {
|
|
76
|
+
for (let i = 0; i <= this.data.data.CantidadProyeccion; i++) {
|
|
77
|
+
//activos circulantes
|
|
78
|
+
this.set19(i);
|
|
79
|
+
//activos no circulantes
|
|
80
|
+
this.set30(i);
|
|
81
|
+
//activos
|
|
82
|
+
this.set18(i);
|
|
83
|
+
//pasivos circulantes
|
|
84
|
+
this.set45(i);
|
|
85
|
+
//pasivos no circulantes
|
|
86
|
+
this.set60(i);
|
|
87
|
+
//pasivos
|
|
88
|
+
this.set44(i);
|
|
89
|
+
//capital
|
|
90
|
+
this.set72(i);
|
|
91
|
+
//resultados
|
|
92
|
+
this.set79(i);
|
|
93
|
+
//patrimonio neto
|
|
94
|
+
this.set71(i);
|
|
95
|
+
//pasivo y patrimonio
|
|
96
|
+
this.set43(i);
|
|
97
|
+
//factor ajuste
|
|
98
|
+
this.set85(i);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
set18(gestion) {
|
|
102
|
+
const proy19 = this.data.proyectado.get(`X19_${gestion}`);
|
|
103
|
+
const proy30 = this.data.proyectado.get(`X30_${gestion}`);
|
|
104
|
+
this.data.proyectado.set(`X18_${gestion}`, proy19 + proy30);
|
|
105
|
+
}
|
|
106
|
+
set19(gestion) {
|
|
107
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
108
|
+
map: this.data.proyectado.map,
|
|
109
|
+
gestion,
|
|
110
|
+
desde: 20,
|
|
111
|
+
hasta: 29
|
|
112
|
+
});
|
|
113
|
+
this.data.proyectado.set(`X19_${gestion}`, val);
|
|
114
|
+
}
|
|
115
|
+
set20(gestion) {
|
|
116
|
+
this.data.proyectado.set(`X20_${gestion}`, this.data.proyectado.get(`X176_${gestion}`));
|
|
117
|
+
}
|
|
118
|
+
set21(gestion) {
|
|
119
|
+
const sup31 = this.data.supuestosData.get(`X31_${gestion}`);
|
|
120
|
+
const sup17 = this.data.supuestosData.get(`X17_${gestion}`);
|
|
121
|
+
const proy104 = this.data.proyectado.get(`X104_${gestion}`);
|
|
122
|
+
let val = 0;
|
|
123
|
+
const montoSup17 = (0, utils_2.ourParseFloat)(sup17?.Monto);
|
|
124
|
+
const montoSup31 = (0, utils_2.ourParseFloat)(sup31?.Monto);
|
|
125
|
+
if (sup31?.Clasificacion === 'A') {
|
|
126
|
+
val = montoSup31;
|
|
127
|
+
}
|
|
128
|
+
else if (sup31?.Clasificacion === 'D') {
|
|
129
|
+
val = montoSup31 * (proy104 / 360) * (0, utils_1.divide)(12, montoSup17);
|
|
130
|
+
}
|
|
131
|
+
this.data.proyectado.set(`X21_${gestion}`, val);
|
|
132
|
+
}
|
|
133
|
+
set22(gestion) {
|
|
134
|
+
const sup37 = this.data.supuestosData.get(`X37_${gestion}`);
|
|
135
|
+
const anterior = this.data.proyectado.get(`X22_${gestion - 1}`);
|
|
136
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
137
|
+
supuesto: sup37,
|
|
138
|
+
value: anterior
|
|
139
|
+
});
|
|
140
|
+
this.data.proyectado.set(`X22_${gestion}`, val);
|
|
141
|
+
}
|
|
142
|
+
set23(gestion) {
|
|
143
|
+
const sup32 = this.data.supuestosData.get(`X32_${gestion}`);
|
|
144
|
+
const sup17 = this.data.supuestosData.get(`X17_${gestion}`);
|
|
145
|
+
const proy105 = this.data.proyectado.get(`X105_${gestion}`);
|
|
146
|
+
let val = 0;
|
|
147
|
+
const montoSup17 = (0, utils_2.ourParseFloat)(sup17?.Monto);
|
|
148
|
+
const montoSup32 = (0, utils_2.ourParseFloat)(sup32?.Monto);
|
|
149
|
+
if (sup32?.Clasificacion === 'A') {
|
|
150
|
+
val = montoSup32;
|
|
151
|
+
}
|
|
152
|
+
else if (sup32?.Clasificacion === 'D') {
|
|
153
|
+
val = montoSup32 * (proy105 / 360) * (0, utils_1.divide)(12, montoSup17);
|
|
154
|
+
}
|
|
155
|
+
this.data.proyectado.set(`X21_${gestion}`, val);
|
|
156
|
+
}
|
|
157
|
+
set24(gestion) {
|
|
158
|
+
const sup76 = this.data.supuestosData.get(`X76_${gestion}`);
|
|
159
|
+
const anterior = this.data.proyectado.get(`X24_${gestion - 1}`);
|
|
160
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
161
|
+
supuesto: sup76,
|
|
162
|
+
value: anterior
|
|
163
|
+
});
|
|
164
|
+
this.data.proyectado.set(`X24_${gestion}`, val);
|
|
165
|
+
}
|
|
166
|
+
set25(gestion) {
|
|
167
|
+
const sup62 = this.data.supuestosData.get(`X62_${gestion}`);
|
|
168
|
+
const anterior = this.data.proyectado.get(`X25_${gestion - 1}`);
|
|
169
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
170
|
+
supuesto: sup62,
|
|
171
|
+
value: anterior
|
|
172
|
+
});
|
|
173
|
+
this.data.proyectado.set(`X25_${gestion}`, val);
|
|
174
|
+
}
|
|
175
|
+
set26(gestion) {
|
|
176
|
+
const sup77 = this.data.supuestosData.get(`X77_${gestion}`);
|
|
177
|
+
const anterior = this.data.proyectado.get(`X26_${gestion - 1}`);
|
|
178
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
179
|
+
supuesto: sup77,
|
|
180
|
+
value: anterior
|
|
181
|
+
});
|
|
182
|
+
this.data.proyectado.set(`X26_${gestion}`, val);
|
|
183
|
+
}
|
|
184
|
+
set27(gestion) {
|
|
185
|
+
const sup78 = this.data.supuestosData.get(`X78_${gestion}`);
|
|
186
|
+
const anterior = this.data.proyectado.get(`X27_${gestion - 1}`);
|
|
187
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
188
|
+
supuesto: sup78,
|
|
189
|
+
value: anterior
|
|
190
|
+
});
|
|
191
|
+
this.data.proyectado.set(`X27_${gestion}`, val);
|
|
192
|
+
}
|
|
193
|
+
set28(gestion) {
|
|
194
|
+
const sup68 = this.data.supuestosData.get(`X68_${gestion}`);
|
|
195
|
+
const anterior = this.data.proyectado.get(`X28_${gestion - 1}`);
|
|
196
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
197
|
+
supuesto: sup68,
|
|
198
|
+
value: anterior
|
|
199
|
+
});
|
|
200
|
+
this.data.proyectado.set(`X28_${gestion}`, val);
|
|
201
|
+
}
|
|
202
|
+
set29(gestion) {
|
|
203
|
+
const sup79 = this.data.supuestosData.get(`X79_${gestion}`);
|
|
204
|
+
const anterior = this.data.proyectado.get(`X29_${gestion - 1}`);
|
|
205
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
206
|
+
supuesto: sup79,
|
|
207
|
+
value: anterior
|
|
208
|
+
});
|
|
209
|
+
this.data.proyectado.set(`X29_${gestion}`, val);
|
|
210
|
+
}
|
|
211
|
+
set30(gestion) {
|
|
212
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
213
|
+
map: this.data.proyectado.map,
|
|
214
|
+
gestion,
|
|
215
|
+
desde: 31,
|
|
216
|
+
hasta: 42
|
|
217
|
+
});
|
|
218
|
+
this.data.proyectado.set(`X30_${gestion}`, val);
|
|
219
|
+
}
|
|
220
|
+
set31(gestion) {
|
|
221
|
+
const sup34 = this.data.supuestosData.get(`X34_${gestion}`);
|
|
222
|
+
const anterior = this.data.proyectado.get(`X31_${gestion - 1}`);
|
|
223
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
224
|
+
supuesto: sup34,
|
|
225
|
+
value: anterior
|
|
226
|
+
});
|
|
227
|
+
this.data.proyectado.set(`X31_${gestion}`, val);
|
|
228
|
+
}
|
|
229
|
+
set32(gestion) {
|
|
230
|
+
const sup35 = this.data.supuestosData.get(`X35_${gestion}`);
|
|
231
|
+
const anterior = this.data.proyectado.get(`X32_${gestion - 1}`);
|
|
232
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
233
|
+
supuesto: sup35,
|
|
234
|
+
value: anterior
|
|
235
|
+
});
|
|
236
|
+
this.data.proyectado.set(`X32_${gestion}`, val);
|
|
237
|
+
}
|
|
238
|
+
set33(gestion) {
|
|
239
|
+
const sup41 = this.data.supuestosData.get(`X41_${gestion}`);
|
|
240
|
+
const montoSup41 = (0, utils_2.ourParseFloat)(sup41?.Monto);
|
|
241
|
+
const sup43 = this.data.supuestosData.get(`X43_${gestion}`);
|
|
242
|
+
const montoSup43 = (0, utils_2.ourParseFloat)(sup43?.Monto);
|
|
243
|
+
const admFinanciera680 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosLeasing
|
|
244
|
+
.CuadroDefinicionOperacion[`Gestion${gestion}`]);
|
|
245
|
+
const anterior = this.data.proyectado.get(`X33_${gestion - 1}`);
|
|
246
|
+
let val = 0;
|
|
247
|
+
if (sup41?.Clasificacion === 'C') {
|
|
248
|
+
val = anterior * (1 + montoSup41) - admFinanciera680 - montoSup43;
|
|
249
|
+
}
|
|
250
|
+
else if (sup41?.Clasificacion === 'A') {
|
|
251
|
+
val = montoSup41 - admFinanciera680 - montoSup43;
|
|
252
|
+
}
|
|
253
|
+
else if (sup41?.Clasificacion === 'CA') {
|
|
254
|
+
val = anterior + montoSup41 - admFinanciera680 - montoSup43;
|
|
255
|
+
}
|
|
256
|
+
this.data.proyectado.set(`X33_${gestion}`, val);
|
|
257
|
+
}
|
|
258
|
+
set34(gestion) {
|
|
259
|
+
const sup45 = this.data.supuestosData.get(`X45_${gestion}`);
|
|
260
|
+
const sup104 = this.data.supuestosData.get(`X104_${gestion}`);
|
|
261
|
+
const anterior = this.data.proyectado.get(`X34_${gestion - 1}`);
|
|
262
|
+
const montoSup45 = (0, utils_2.ourParseFloat)(sup45?.Monto);
|
|
263
|
+
const montoSup104 = (0, utils_2.ourParseFloat)(sup104?.Monto);
|
|
264
|
+
let val = 0;
|
|
265
|
+
if (sup104?.Clasificacion === 'C') {
|
|
266
|
+
val = anterior * (1 + montoSup104) - montoSup45;
|
|
267
|
+
}
|
|
268
|
+
else if (sup104?.Clasificacion === 'A') {
|
|
269
|
+
val = montoSup104 - montoSup45;
|
|
270
|
+
}
|
|
271
|
+
else if (sup104?.Clasificacion === 'CA') {
|
|
272
|
+
val = anterior + montoSup104 - montoSup45;
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
const admFinanciera606 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosLeasing
|
|
276
|
+
.ActivacionOperacionLeasing[`Gestion${gestion}`]);
|
|
277
|
+
val = anterior + admFinanciera606 - montoSup45;
|
|
278
|
+
}
|
|
279
|
+
this.data.proyectado.set(`X34_${gestion}`, val);
|
|
280
|
+
}
|
|
281
|
+
set35(gestion) {
|
|
282
|
+
const sup47 = this.data.supuestosData.get(`X47_${gestion}`);
|
|
283
|
+
const anterior = this.data.proyectado.get(`X35_${gestion - 1}`);
|
|
284
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
285
|
+
supuesto: sup47,
|
|
286
|
+
value: anterior
|
|
287
|
+
});
|
|
288
|
+
this.data.proyectado.set(`X35_${gestion}`, val);
|
|
289
|
+
}
|
|
290
|
+
set36(gestion) {
|
|
291
|
+
const sup80 = this.data.supuestosData.get(`X80_${gestion}`);
|
|
292
|
+
const anterior = this.data.proyectado.get(`X36_${gestion - 1}`);
|
|
293
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
294
|
+
supuesto: sup80,
|
|
295
|
+
value: anterior
|
|
296
|
+
});
|
|
297
|
+
this.data.proyectado.set(`X36_${gestion}`, val);
|
|
298
|
+
}
|
|
299
|
+
set37(gestion) {
|
|
300
|
+
const sup63 = this.data.supuestosData.get(`X63_${gestion}`);
|
|
301
|
+
const anterior = this.data.proyectado.get(`X37_${gestion - 1}`);
|
|
302
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
303
|
+
supuesto: sup63,
|
|
304
|
+
value: anterior
|
|
305
|
+
});
|
|
306
|
+
this.data.proyectado.set(`X37_${gestion}`, val);
|
|
307
|
+
}
|
|
308
|
+
set38(gestion) {
|
|
309
|
+
const sup61 = this.data.supuestosData.get(`X61_${gestion}`);
|
|
310
|
+
const anterior = this.data.proyectado.get(`X38_${gestion - 1}`);
|
|
311
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
312
|
+
supuesto: sup61,
|
|
313
|
+
value: anterior
|
|
314
|
+
});
|
|
315
|
+
this.data.proyectado.set(`X38_${gestion}`, val);
|
|
316
|
+
}
|
|
317
|
+
set39(gestion) {
|
|
318
|
+
const sup49 = this.data.supuestosData.get(`X49_${gestion}`);
|
|
319
|
+
const anterior = this.data.proyectado.get(`X39_${gestion - 1}`);
|
|
320
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
321
|
+
supuesto: sup49,
|
|
322
|
+
value: anterior
|
|
323
|
+
});
|
|
324
|
+
this.data.proyectado.set(`X39_${gestion}`, val);
|
|
325
|
+
}
|
|
326
|
+
set40(gestion) {
|
|
327
|
+
const sup105 = this.data.supuestosData.get(`X105_${gestion}`);
|
|
328
|
+
const anterior = this.data.proyectado.get(`X40_${gestion - 1}`);
|
|
329
|
+
const admFinanciera722 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosLeasing
|
|
330
|
+
.EfectoSaldoDiferimiento[`Gestion${gestion}`]);
|
|
331
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
332
|
+
supuesto: sup105,
|
|
333
|
+
value: anterior,
|
|
334
|
+
valueForCa: anterior + (0, utils_2.ourParseFloat)(sup105?.Monto) + admFinanciera722
|
|
335
|
+
});
|
|
336
|
+
this.data.proyectado.set(`X40_${gestion}`, val);
|
|
337
|
+
}
|
|
338
|
+
set41(gestion) {
|
|
339
|
+
const sup69 = this.data.supuestosData.get(`X69_${gestion}`);
|
|
340
|
+
const anterior = this.data.proyectado.get(`X41_${gestion - 1}`);
|
|
341
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
342
|
+
supuesto: sup69,
|
|
343
|
+
value: anterior
|
|
344
|
+
});
|
|
345
|
+
this.data.proyectado.set(`X41_${gestion}`, val);
|
|
346
|
+
}
|
|
347
|
+
set42(gestion) {
|
|
348
|
+
const sup81 = this.data.supuestosData.get(`X81_${gestion}`);
|
|
349
|
+
const anterior = this.data.proyectado.get(`X42_${gestion - 1}`);
|
|
350
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
351
|
+
supuesto: sup81,
|
|
352
|
+
value: anterior
|
|
353
|
+
});
|
|
354
|
+
this.data.proyectado.set(`X42_${gestion}`, val);
|
|
355
|
+
}
|
|
356
|
+
set43(gestion) {
|
|
357
|
+
const proy71 = this.data.proyectado.get(`X71_${gestion}`);
|
|
358
|
+
const proy44 = this.data.proyectado.get(`X44_${gestion}`);
|
|
359
|
+
this.data.proyectado.set(`X43_${gestion}`, proy71 + proy44);
|
|
360
|
+
}
|
|
361
|
+
set44(gestion) {
|
|
362
|
+
const proy45 = this.data.proyectado.get(`X45_${gestion}`);
|
|
363
|
+
const proy60 = this.data.proyectado.get(`X60_${gestion}`);
|
|
364
|
+
this.data.proyectado.set(`X44_${gestion}`, proy45 + proy60);
|
|
365
|
+
}
|
|
366
|
+
set45(gestion) {
|
|
367
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
368
|
+
map: this.data.proyectado.map,
|
|
369
|
+
gestion,
|
|
370
|
+
desde: 46,
|
|
371
|
+
hasta: 59
|
|
372
|
+
});
|
|
373
|
+
this.data.proyectado.set(`X45_${gestion}`, val);
|
|
374
|
+
}
|
|
375
|
+
set46(gestion) {
|
|
376
|
+
const sup95 = this.data.supuestosData.get(`X95_${gestion}`);
|
|
377
|
+
const admFinanciera510 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosBajoLinea
|
|
378
|
+
.DeudasCortoPlazoSobregiros[`Gestion${gestion}`]);
|
|
379
|
+
let val = admFinanciera510;
|
|
380
|
+
if (sup95?.Clasificacion === 'A') {
|
|
381
|
+
val += (0, utils_2.ourParseFloat)(sup95?.Monto);
|
|
382
|
+
}
|
|
383
|
+
this.data.proyectado.set(`X46_${gestion}`, val);
|
|
384
|
+
}
|
|
385
|
+
set47(gestion) {
|
|
386
|
+
const admFinanciera359 = 0;
|
|
387
|
+
const sup96 = this.data.supuestosData.get(`X96_${gestion}`);
|
|
388
|
+
let val = admFinanciera359;
|
|
389
|
+
if (sup96?.Clasificacion === 'A') {
|
|
390
|
+
val += (0, utils_2.ourParseFloat)(sup96?.Monto);
|
|
391
|
+
}
|
|
392
|
+
this.data.proyectado.set(`X47_${gestion}`, val);
|
|
393
|
+
}
|
|
394
|
+
set48(gestion) {
|
|
395
|
+
const admFinanciera883 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosDirectos
|
|
396
|
+
.CuadroPorcionesCorrientesBDP[`Gestion${gestion}`]);
|
|
397
|
+
const sup97 = this.data.supuestosData.get(`X97_${gestion}`);
|
|
398
|
+
let val = admFinanciera883;
|
|
399
|
+
if (sup97?.Clasificacion === 'A') {
|
|
400
|
+
val += (0, utils_2.ourParseFloat)(sup97?.Monto);
|
|
401
|
+
}
|
|
402
|
+
this.data.proyectado.set(`X48_${gestion}`, val);
|
|
403
|
+
}
|
|
404
|
+
set49(gestion) {
|
|
405
|
+
const admFinanciera864 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosDirectos
|
|
406
|
+
.CuadroPorcionesCorrientesOtros[`Gestion${gestion}`]);
|
|
407
|
+
const sup98 = this.data.supuestosData.get(`X98_${gestion}`);
|
|
408
|
+
let val = admFinanciera864;
|
|
409
|
+
if (sup98?.Clasificacion === 'A') {
|
|
410
|
+
val += (0, utils_2.ourParseFloat)(sup98?.Monto);
|
|
411
|
+
}
|
|
412
|
+
this.data.proyectado.set(`X49_${gestion}`, val);
|
|
413
|
+
}
|
|
414
|
+
set50(gestion) {
|
|
415
|
+
const admFinanciera895 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosLeasing
|
|
416
|
+
.PorcionesCorrientes[`Gestion${gestion}`]);
|
|
417
|
+
const sup102 = this.data.supuestosData.get(`X102_${gestion}`);
|
|
418
|
+
let val = admFinanciera895;
|
|
419
|
+
if (sup102?.Clasificacion === 'A') {
|
|
420
|
+
val += (0, utils_2.ourParseFloat)(sup102?.Monto);
|
|
421
|
+
}
|
|
422
|
+
this.data.proyectado.set(`X50_${gestion}`, val);
|
|
423
|
+
}
|
|
424
|
+
set51(gestion) {
|
|
425
|
+
const sup17 = this.data.supuestosData.get(`X17_${gestion}`);
|
|
426
|
+
const sup33 = this.data.supuestosData.get(`X33_${gestion}`);
|
|
427
|
+
const proy105 = this.data.proyectado.get(`X105_${gestion}`);
|
|
428
|
+
const montoSup33 = (0, utils_2.ourParseFloat)(sup33?.Monto);
|
|
429
|
+
const montoSup17 = (0, utils_2.ourParseFloat)(sup17?.Monto);
|
|
430
|
+
let val = 0;
|
|
431
|
+
if (sup33?.Clasificacion === 'A') {
|
|
432
|
+
val = montoSup33;
|
|
433
|
+
}
|
|
434
|
+
else if (sup33?.Clasificacion === 'D') {
|
|
435
|
+
val = montoSup33 * (proy105 / 360) * (0, utils_1.divide)(12, montoSup17);
|
|
436
|
+
}
|
|
437
|
+
this.data.proyectado.set(`X51_${gestion}`, val);
|
|
438
|
+
}
|
|
439
|
+
set52(gestion) {
|
|
440
|
+
const sup38 = this.data.supuestosData.get(`X38_${gestion}`);
|
|
441
|
+
const anterior = this.data.proyectado.get(`X52_${gestion - 1}`);
|
|
442
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
443
|
+
supuesto: sup38,
|
|
444
|
+
value: anterior
|
|
445
|
+
});
|
|
446
|
+
this.data.proyectado.set(`X52_${gestion}`, val);
|
|
447
|
+
}
|
|
448
|
+
set53(gestion) {
|
|
449
|
+
const sup54 = this.data.supuestosData.get(`X54_${gestion}`);
|
|
450
|
+
const anterior = this.data.proyectado.get(`X53_${gestion - 1}`);
|
|
451
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
452
|
+
supuesto: sup54,
|
|
453
|
+
value: anterior
|
|
454
|
+
});
|
|
455
|
+
this.data.proyectado.set(`X53_${gestion}`, val);
|
|
456
|
+
}
|
|
457
|
+
set54(gestion) {
|
|
458
|
+
const sup39 = this.data.supuestosData.get(`X39_${gestion}`);
|
|
459
|
+
const anterior = this.data.proyectado.get(`X54_${gestion - 1}`);
|
|
460
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
461
|
+
supuesto: sup39,
|
|
462
|
+
value: anterior
|
|
463
|
+
});
|
|
464
|
+
this.data.proyectado.set(`X54_${gestion}`, val);
|
|
465
|
+
}
|
|
466
|
+
set55(gestion) {
|
|
467
|
+
const sup64 = this.data.supuestosData.get(`X64_${gestion}`);
|
|
468
|
+
const anterior = this.data.proyectado.get(`X55_${gestion - 1}`);
|
|
469
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
470
|
+
supuesto: sup64,
|
|
471
|
+
value: anterior
|
|
472
|
+
});
|
|
473
|
+
this.data.proyectado.set(`X55_${gestion}`, val);
|
|
474
|
+
}
|
|
475
|
+
set56(gestion) {
|
|
476
|
+
const sup83 = this.data.supuestosData.get(`X83_${gestion}`);
|
|
477
|
+
const anterior = this.data.proyectado.get(`X56_${gestion - 1}`);
|
|
478
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
479
|
+
supuesto: sup83,
|
|
480
|
+
value: anterior
|
|
481
|
+
});
|
|
482
|
+
this.data.proyectado.set(`X56_${gestion}`, val);
|
|
483
|
+
}
|
|
484
|
+
set57(gestion) {
|
|
485
|
+
const sup84 = this.data.supuestosData.get(`X84_${gestion}`);
|
|
486
|
+
const anterior = this.data.proyectado.get(`X57_${gestion - 1}`);
|
|
487
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
488
|
+
supuesto: sup84,
|
|
489
|
+
value: anterior
|
|
490
|
+
});
|
|
491
|
+
this.data.proyectado.set(`X57_${gestion}`, val);
|
|
492
|
+
}
|
|
493
|
+
set58(gestion) {
|
|
494
|
+
const sup70 = this.data.supuestosData.get(`X70_${gestion}`);
|
|
495
|
+
const anterior = this.data.proyectado.get(`X58_${gestion - 1}`);
|
|
496
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
497
|
+
supuesto: sup70,
|
|
498
|
+
value: anterior
|
|
499
|
+
});
|
|
500
|
+
this.data.proyectado.set(`X58_${gestion}`, val);
|
|
501
|
+
}
|
|
502
|
+
set59(gestion) {
|
|
503
|
+
const sup85 = this.data.supuestosData.get(`X85_${gestion}`);
|
|
504
|
+
const anterior = this.data.proyectado.get(`X59_${gestion - 1}`);
|
|
505
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
506
|
+
supuesto: sup85,
|
|
507
|
+
value: anterior
|
|
508
|
+
});
|
|
509
|
+
this.data.proyectado.set(`X59_${gestion}`, val);
|
|
510
|
+
}
|
|
511
|
+
set60(gestion) {
|
|
512
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
513
|
+
map: this.data.proyectado.map,
|
|
514
|
+
gestion,
|
|
515
|
+
desde: 61,
|
|
516
|
+
hasta: 70
|
|
517
|
+
});
|
|
518
|
+
this.data.proyectado.set(`X60_${gestion}`, val);
|
|
519
|
+
}
|
|
520
|
+
set61(gestion) {
|
|
521
|
+
const admFinanciera939 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.ProyeccionPrestamosDirectos[proyeccionPrestamosDirectosHandler_1.FILAS_PROYECCION_PRESTAMOS_DIRECTOS['Porción LP - BDP SAM']]?.[`Gestion${gestion}`]);
|
|
522
|
+
const sup99 = this.data.supuestosData.get(`X99_${gestion}`);
|
|
523
|
+
let val = admFinanciera939;
|
|
524
|
+
if (sup99?.Clasificacion === 'A') {
|
|
525
|
+
val += (0, utils_2.ourParseFloat)(sup99?.Monto);
|
|
526
|
+
}
|
|
527
|
+
this.data.proyectado.set(`X61_${gestion}`, val);
|
|
528
|
+
}
|
|
529
|
+
set62(gestion) {
|
|
530
|
+
const admFinanciera920 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.ProyeccionPrestamosDirectos[proyeccionPrestamosDirectosHandler_1.FILAS_PROYECCION_PRESTAMOS_DIRECTOS['Porción LP - Otras EIFs']]?.[`Gestion${gestion}`]);
|
|
531
|
+
const sup100 = this.data.supuestosData.get(`X100_${gestion}`);
|
|
532
|
+
let val = admFinanciera920;
|
|
533
|
+
if (sup100?.Clasificacion === 'A') {
|
|
534
|
+
val += (0, utils_2.ourParseFloat)(sup100?.Monto);
|
|
535
|
+
}
|
|
536
|
+
this.data.proyectado.set(`X62_${gestion}`, val);
|
|
537
|
+
}
|
|
538
|
+
set63(gestion) {
|
|
539
|
+
const admFinanciera961 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.ProyeccionPrestamosDirectos[proyeccionPrestamosDirectosHandler_1.FILAS_PROYECCION_PRESTAMOS_DIRECTOS['Leasing LP - Otras EIFs']]?.[`Gestion${gestion}`]);
|
|
540
|
+
const sup103 = this.data.supuestosData.get(`X103_${gestion}`);
|
|
541
|
+
let val = admFinanciera961;
|
|
542
|
+
if (sup103?.Clasificacion === 'A') {
|
|
543
|
+
val += (0, utils_2.ourParseFloat)(sup103?.Monto);
|
|
544
|
+
}
|
|
545
|
+
this.data.proyectado.set(`X63_${gestion}`, val);
|
|
546
|
+
}
|
|
547
|
+
set64(gestion) {
|
|
548
|
+
const sup36 = this.data.supuestosData.get(`X36_${gestion}`);
|
|
549
|
+
const anterior = this.data.proyectado.get(`X64_${gestion - 1}`);
|
|
550
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
551
|
+
supuesto: sup36,
|
|
552
|
+
value: anterior
|
|
553
|
+
});
|
|
554
|
+
this.data.proyectado.set(`X64_${gestion}`, val);
|
|
555
|
+
}
|
|
556
|
+
set65(gestion) {
|
|
557
|
+
const sup60 = this.data.supuestosData.get(`X60_${gestion}`);
|
|
558
|
+
const anterior = this.data.proyectado.get(`X65_${gestion - 1}`);
|
|
559
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
560
|
+
supuesto: sup60,
|
|
561
|
+
value: anterior
|
|
562
|
+
});
|
|
563
|
+
this.data.proyectado.set(`X65_${gestion}`, val);
|
|
564
|
+
}
|
|
565
|
+
set66(gestion) {
|
|
566
|
+
const sup65 = this.data.supuestosData.get(`X65_${gestion}`);
|
|
567
|
+
const anterior = this.data.proyectado.get(`X66_${gestion - 1}`);
|
|
568
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
569
|
+
supuesto: sup65,
|
|
570
|
+
value: anterior
|
|
571
|
+
});
|
|
572
|
+
this.data.proyectado.set(`X66_${gestion}`, val);
|
|
573
|
+
}
|
|
574
|
+
set67(gestion) {
|
|
575
|
+
const sup86 = this.data.supuestosData.get(`X86_${gestion}`);
|
|
576
|
+
const anterior = this.data.proyectado.get(`X67_${gestion - 1}`);
|
|
577
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
578
|
+
supuesto: sup86,
|
|
579
|
+
value: anterior
|
|
580
|
+
});
|
|
581
|
+
this.data.proyectado.set(`X67_${gestion}`, val);
|
|
582
|
+
}
|
|
583
|
+
set68(gestion) {
|
|
584
|
+
const sup87 = this.data.supuestosData.get(`X87_${gestion}`);
|
|
585
|
+
const anterior = this.data.proyectado.get(`X68_${gestion - 1}`);
|
|
586
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
587
|
+
supuesto: sup87,
|
|
588
|
+
value: anterior
|
|
589
|
+
});
|
|
590
|
+
this.data.proyectado.set(`X68_${gestion}`, val);
|
|
591
|
+
}
|
|
592
|
+
set69(gestion) {
|
|
593
|
+
const sup71 = this.data.supuestosData.get(`X71_${gestion}`);
|
|
594
|
+
const anterior = this.data.proyectado.get(`X69_${gestion - 1}`);
|
|
595
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
596
|
+
supuesto: sup71,
|
|
597
|
+
value: anterior
|
|
598
|
+
});
|
|
599
|
+
this.data.proyectado.set(`X69_${gestion}`, val);
|
|
600
|
+
}
|
|
601
|
+
set70(gestion) {
|
|
602
|
+
const sup88 = this.data.supuestosData.get(`X88_${gestion}`);
|
|
603
|
+
const anterior = this.data.proyectado.get(`X70_${gestion - 1}`);
|
|
604
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
605
|
+
supuesto: sup88,
|
|
606
|
+
value: anterior
|
|
607
|
+
});
|
|
608
|
+
this.data.proyectado.set(`X70_${gestion}`, val);
|
|
609
|
+
}
|
|
610
|
+
set71(gestion) {
|
|
611
|
+
const proy72 = this.data.proyectado.get(`X72_${gestion}`);
|
|
612
|
+
const proy79 = this.data.proyectado.get(`X79_${gestion}`);
|
|
613
|
+
this.data.proyectado.set(`X71_${gestion}`, proy72 + proy79);
|
|
614
|
+
}
|
|
615
|
+
set72(gestion) {
|
|
616
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
617
|
+
map: this.data.proyectado.map,
|
|
618
|
+
gestion,
|
|
619
|
+
desde: 73,
|
|
620
|
+
hasta: 78
|
|
621
|
+
});
|
|
622
|
+
this.data.proyectado.set(`X72_${gestion}`, val);
|
|
623
|
+
}
|
|
624
|
+
set73(gestion) {
|
|
625
|
+
const sup56 = this.data.supuestosData.get(`X56_${gestion}`);
|
|
626
|
+
const anterior = this.data.proyectado.get(`X73_${gestion - 1}`);
|
|
627
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
628
|
+
supuesto: sup56,
|
|
629
|
+
value: anterior
|
|
630
|
+
});
|
|
631
|
+
this.data.proyectado.set(`X73_${gestion}`, val);
|
|
632
|
+
}
|
|
633
|
+
set74(gestion) {
|
|
634
|
+
const sup58 = this.data.supuestosData.get(`X58_${gestion}`);
|
|
635
|
+
const sup59 = this.data.supuestosData.get(`X59_${gestion}`);
|
|
636
|
+
const anterior = this.data.proyectado.get(`X73_${gestion - 1}`);
|
|
637
|
+
let val = 0;
|
|
638
|
+
const montoSup58 = (0, utils_2.ourParseFloat)(sup58?.Monto);
|
|
639
|
+
const montoSup59 = (0, utils_2.ourParseFloat)(sup59?.Monto);
|
|
640
|
+
if (sup58?.Clasificacion === 'C') {
|
|
641
|
+
val = anterior * (1 + montoSup58) + montoSup59;
|
|
642
|
+
}
|
|
643
|
+
else if (sup58?.Clasificacion === 'A') {
|
|
644
|
+
val = montoSup58 + montoSup59;
|
|
645
|
+
}
|
|
646
|
+
else if (sup58?.Clasificacion === 'CA') {
|
|
647
|
+
val = anterior + montoSup58 + montoSup59;
|
|
648
|
+
}
|
|
649
|
+
this.data.proyectado.set(`X74_${gestion}`, val);
|
|
650
|
+
}
|
|
651
|
+
set75(gestion) {
|
|
652
|
+
const sup90 = this.data.supuestosData.get(`X90_${gestion}`);
|
|
653
|
+
const anterior = this.data.proyectado.get(`X75_${gestion - 1}`);
|
|
654
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
655
|
+
supuesto: sup90,
|
|
656
|
+
value: anterior
|
|
657
|
+
});
|
|
658
|
+
this.data.proyectado.set(`X75_${gestion}`, val);
|
|
659
|
+
}
|
|
660
|
+
set76(gestion) {
|
|
661
|
+
const sup57 = this.data.supuestosData.get(`X57_${gestion}`);
|
|
662
|
+
const anterior = this.data.proyectado.get(`X76_${gestion - 1}`);
|
|
663
|
+
const proy122Anterior = this.data.proyectado.get(`X122_${gestion - 1}`);
|
|
664
|
+
let val = anterior;
|
|
665
|
+
if (proy122Anterior > 0) {
|
|
666
|
+
val = proy122Anterior * (0, utils_2.ourParseFloat)(sup57?.Monto) + anterior;
|
|
667
|
+
}
|
|
668
|
+
this.data.proyectado.set(`X76_${gestion}`, val);
|
|
669
|
+
}
|
|
670
|
+
set77(gestion) {
|
|
671
|
+
const sup91 = this.data.supuestosData.get(`X91_${gestion}`);
|
|
672
|
+
const anterior = this.data.proyectado.get(`X77_${gestion - 1}`);
|
|
673
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
674
|
+
supuesto: sup91,
|
|
675
|
+
value: anterior
|
|
676
|
+
});
|
|
677
|
+
this.data.proyectado.set(`X77_${gestion}`, val);
|
|
678
|
+
}
|
|
679
|
+
set78(gestion) {
|
|
680
|
+
const sup92 = this.data.supuestosData.get(`X92_${gestion}`);
|
|
681
|
+
const anterior = this.data.proyectado.get(`X78_${gestion - 1}`);
|
|
682
|
+
const val = (0, balanceProyectado_1.getValueWithSupuestoByClasificacion)({
|
|
683
|
+
supuesto: sup92,
|
|
684
|
+
value: anterior
|
|
685
|
+
});
|
|
686
|
+
this.data.proyectado.set(`X78_${gestion}`, val);
|
|
687
|
+
}
|
|
688
|
+
set79(gestion) {
|
|
689
|
+
const val = (0, balanceProyectado_1.getSumaDesdeHastaGestionMap)({
|
|
690
|
+
map: this.data.proyectado.map,
|
|
691
|
+
gestion,
|
|
692
|
+
desde: 80,
|
|
693
|
+
hasta: 81
|
|
694
|
+
});
|
|
695
|
+
this.data.proyectado.set(`X79_${gestion}`, val);
|
|
696
|
+
}
|
|
697
|
+
set80(gestion) {
|
|
698
|
+
const sup57 = this.data.supuestosData.get(`X57_${gestion}`);
|
|
699
|
+
const sup59 = this.data.supuestosData.get(`X59_${gestion}`);
|
|
700
|
+
const anterior = this.data.proyectado.get(`X80_${gestion - 1}`);
|
|
701
|
+
const proy81Anterior = this.data.proyectado.get(`X81_${gestion - 1}`);
|
|
702
|
+
const proy122Anterior = this.data.proyectado.get(`X122_${gestion - 1}`);
|
|
703
|
+
const proy124 = this.data.proyectado.get(`X124_${gestion}`);
|
|
704
|
+
let val = 0;
|
|
705
|
+
if (proy122Anterior > 0) {
|
|
706
|
+
val =
|
|
707
|
+
anterior +
|
|
708
|
+
proy122Anterior * (1 - (0, utils_2.ourParseFloat)(sup57?.Monto)) -
|
|
709
|
+
proy124 -
|
|
710
|
+
(0, utils_2.ourParseFloat)(sup59?.Monto);
|
|
711
|
+
}
|
|
712
|
+
else {
|
|
713
|
+
val = anterior + proy81Anterior - (0, utils_2.ourParseFloat)(sup59?.Monto);
|
|
714
|
+
}
|
|
715
|
+
this.data.proyectado.set(`X80_${gestion}`, val);
|
|
716
|
+
}
|
|
717
|
+
set81(gestion) {
|
|
718
|
+
this.data.proyectado.set(`X81_${gestion}`, this.data.proyectado.get(`X122_${gestion}`));
|
|
719
|
+
}
|
|
720
|
+
set83(gestion) {
|
|
721
|
+
const sup95 = this.data.supuestosData.get(`X95_${gestion}`);
|
|
722
|
+
const sup96 = this.data.supuestosData.get(`X96_${gestion}`);
|
|
723
|
+
const sup97 = this.data.supuestosData.get(`X97_${gestion}`);
|
|
724
|
+
const sup98 = this.data.supuestosData.get(`X98_${gestion}`);
|
|
725
|
+
const sup99 = this.data.supuestosData.get(`X99_${gestion}`);
|
|
726
|
+
const sup100 = this.data.supuestosData.get(`X100_${gestion}`);
|
|
727
|
+
const sup102 = this.data.supuestosData.get(`X102_${gestion}`);
|
|
728
|
+
const sup103 = this.data.supuestosData.get(`X103_${gestion}`);
|
|
729
|
+
const admFinanciera760 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.General.CuadroEfectoLinea[`Gestion${gestion}`]);
|
|
730
|
+
const admFinanciera798 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.General.DeudaDirecta[`Gestion${gestion}`]);
|
|
731
|
+
const admFinanciera895 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.Totales.PrestamosLeasing
|
|
732
|
+
.PorcionesCorrientes[`Gestion${gestion}`]);
|
|
733
|
+
const admFinanciera961 = (0, utils_2.ourParseFloat)(this.data.data.AdmFinancieraData.ProyeccionPrestamosDirectos[proyeccionPrestamosDirectosHandler_1.FILAS_PROYECCION_PRESTAMOS_DIRECTOS['Leasing LP - Otras EIFs']]?.[`Gestion${gestion}`]);
|
|
734
|
+
this.data.proyectado.set(`X83_${gestion}`, admFinanciera760 +
|
|
735
|
+
admFinanciera798 +
|
|
736
|
+
(0, utils_2.ourParseFloat)(sup95?.Monto) +
|
|
737
|
+
(0, utils_2.ourParseFloat)(sup96?.Monto) +
|
|
738
|
+
(0, utils_2.ourParseFloat)(sup97?.Monto) +
|
|
739
|
+
(0, utils_2.ourParseFloat)(sup98?.Monto) +
|
|
740
|
+
(0, utils_2.ourParseFloat)(sup99?.Monto) +
|
|
741
|
+
(0, utils_2.ourParseFloat)(sup100?.Monto) +
|
|
742
|
+
(0, utils_2.ourParseFloat)(sup102?.Monto) +
|
|
743
|
+
(0, utils_2.ourParseFloat)(sup103?.Monto) +
|
|
744
|
+
admFinanciera895 +
|
|
745
|
+
admFinanciera961);
|
|
746
|
+
}
|
|
747
|
+
set84(gestion) {
|
|
748
|
+
//TODO ?
|
|
749
|
+
const admFinanciera761 = 0;
|
|
750
|
+
//TODO ?
|
|
751
|
+
const admFinanciera799 = 0;
|
|
752
|
+
this.data.proyectado.set(`X84_${gestion}`, admFinanciera761 + admFinanciera799);
|
|
753
|
+
}
|
|
754
|
+
set85(gestion) {
|
|
755
|
+
const proy43 = this.data.proyectado.get(`X43_${gestion}`);
|
|
756
|
+
const proy18 = this.data.proyectado.get(`X18_${gestion}`);
|
|
757
|
+
this.data.proyectado.set(`X85_${gestion}`, proy43 - proy18);
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
exports.BalanceHandler = BalanceHandler;
|