sigo-package 1.2.185 → 1.2.186
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/dist/index.js +15 -3
- package/dist/index.mjs +15 -3
- package/package.json +30 -30
package/dist/index.js
CHANGED
|
@@ -280,8 +280,12 @@ var ActualizarDataResumenLiquidacionesColombia = /* @__PURE__ */ __name((ManoObr
|
|
|
280
280
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
281
281
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
282
282
|
valorizacion.CantidadUsado = 0;
|
|
283
|
+
valorizacion.CantidadUOUsado = 0;
|
|
283
284
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
284
|
-
if (val)
|
|
285
|
+
if (val) {
|
|
286
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
287
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
288
|
+
}
|
|
285
289
|
}
|
|
286
290
|
}
|
|
287
291
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
|
@@ -310,8 +314,12 @@ var ActualizarDataResumenLiquidaciones = /* @__PURE__ */ __name((ManoObra, Reser
|
|
|
310
314
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
311
315
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
312
316
|
valorizacion.CantidadUsado = 0;
|
|
317
|
+
valorizacion.CantidadUOUsado = 0;
|
|
313
318
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
314
|
-
if (val)
|
|
319
|
+
if (val) {
|
|
320
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
321
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
322
|
+
}
|
|
315
323
|
}
|
|
316
324
|
}
|
|
317
325
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
|
@@ -15764,8 +15772,12 @@ var ActualizarDataResumenValorizacionesAlemania = /* @__PURE__ */ __name((ManoOb
|
|
|
15764
15772
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
15765
15773
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
15766
15774
|
valorizacion.CantidadUsado = 0;
|
|
15775
|
+
valorizacion.CantidadUOUsado = 0;
|
|
15767
15776
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
15768
|
-
if (val)
|
|
15777
|
+
if (val) {
|
|
15778
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
15779
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
15780
|
+
}
|
|
15769
15781
|
}
|
|
15770
15782
|
}
|
|
15771
15783
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
package/dist/index.mjs
CHANGED
|
@@ -42,8 +42,12 @@ var ActualizarDataResumenLiquidacionesColombia = /* @__PURE__ */ __name((ManoObr
|
|
|
42
42
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
43
43
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
44
44
|
valorizacion.CantidadUsado = 0;
|
|
45
|
+
valorizacion.CantidadUOUsado = 0;
|
|
45
46
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
46
|
-
if (val)
|
|
47
|
+
if (val) {
|
|
48
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
49
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
50
|
+
}
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
|
@@ -72,8 +76,12 @@ var ActualizarDataResumenLiquidaciones = /* @__PURE__ */ __name((ManoObra, Reser
|
|
|
72
76
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
73
77
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
74
78
|
valorizacion.CantidadUsado = 0;
|
|
79
|
+
valorizacion.CantidadUOUsado = 0;
|
|
75
80
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
76
|
-
if (val)
|
|
81
|
+
if (val) {
|
|
82
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
83
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
84
|
+
}
|
|
77
85
|
}
|
|
78
86
|
}
|
|
79
87
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
|
@@ -15526,8 +15534,12 @@ var ActualizarDataResumenValorizacionesAlemania = /* @__PURE__ */ __name((ManoOb
|
|
|
15526
15534
|
if (ManoObra && ManoObra.Valorizacion && Array.isArray(ManoObra.Valorizacion)) {
|
|
15527
15535
|
for (const valorizacion of ManoObra.Valorizacion) {
|
|
15528
15536
|
valorizacion.CantidadUsado = 0;
|
|
15537
|
+
valorizacion.CantidadUOUsado = 0;
|
|
15529
15538
|
const val = ResumenPreLiquidado.MoUo.find((e) => e.LineaCodigoCub === valorizacion.DetalleChile.LineaCodigoCub);
|
|
15530
|
-
if (val)
|
|
15539
|
+
if (val) {
|
|
15540
|
+
valorizacion.CantidadUsado = val.Cantidad;
|
|
15541
|
+
valorizacion.CantidadUOUsado = val.CantidadUO;
|
|
15542
|
+
}
|
|
15531
15543
|
}
|
|
15532
15544
|
}
|
|
15533
15545
|
if (Reserva && Reserva.Item && Array.isArray(Reserva.Item)) {
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sigo-package",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Funciones compartidas sigo",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "tsup && tsc-alias",
|
|
10
|
-
"prepare": "node --run build"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"author": "Antonio Mejia",
|
|
14
|
-
"license": "ISC",
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@swc/core": "^1.11.22",
|
|
17
|
-
"@types/express": "^5.0.1",
|
|
18
|
-
"@types/webpack-env": "^1.18.8",
|
|
19
|
-
"tsc-alias": "^1.8.15",
|
|
20
|
-
"tsup": "^8.5.1",
|
|
21
|
-
"typescript": "^5.7.3"
|
|
22
|
-
},
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"class-validator": "^0.15.1",
|
|
25
|
-
"sigo-entities": "^1.2.
|
|
26
|
-
},
|
|
27
|
-
"overrides": {
|
|
28
|
-
"esbuild": "^0.28.0"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sigo-package",
|
|
3
|
+
"version": "1.2.186",
|
|
4
|
+
"description": "Funciones compartidas sigo",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsup && tsc-alias",
|
|
10
|
+
"prepare": "node --run build"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [],
|
|
13
|
+
"author": "Antonio Mejia",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@swc/core": "^1.11.22",
|
|
17
|
+
"@types/express": "^5.0.1",
|
|
18
|
+
"@types/webpack-env": "^1.18.8",
|
|
19
|
+
"tsc-alias": "^1.8.15",
|
|
20
|
+
"tsup": "^8.5.1",
|
|
21
|
+
"typescript": "^5.7.3"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"class-validator": "^0.15.1",
|
|
25
|
+
"sigo-entities": "^1.2.545"
|
|
26
|
+
},
|
|
27
|
+
"overrides": {
|
|
28
|
+
"esbuild": "^0.28.0"
|
|
29
|
+
}
|
|
30
|
+
}
|