sigesp 1.1.64-202508145 → 1.1.66-20250906
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/core/interfaces/Configuracion.mjs +1 -1
- package/esm2020/lib/core/interfaces/Moneda.mjs +1 -1
- package/esm2020/lib/core/interfaces/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/interfaces/Servicios.mjs +1 -1
- package/esm2020/lib/core/models/CFG/Empresa.model.mjs +4 -1
- package/esm2020/lib/core/models/CFG/moneda.model.mjs +22 -1
- package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +25 -1
- package/esm2020/lib/core/models/SOC/service.model.mjs +11 -2
- package/fesm2015/sigesp.mjs +58 -1
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +58 -1
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Configuracion.d.ts +1 -0
- package/lib/core/interfaces/Moneda.d.ts +7 -0
- package/lib/core/interfaces/Nomina.d.ts +12 -0
- package/lib/core/interfaces/Servicios.d.ts +3 -0
- package/lib/core/models/CFG/Empresa.model.d.ts +1 -0
- package/lib/core/models/CFG/moneda.model.d.ts +8 -1
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +12 -0
- package/lib/core/models/SOC/service.model.d.ts +3 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -733,6 +733,18 @@ class MPersonalNomina extends MBasicModel {
|
|
|
733
733
|
this.sueldoNormalVariable = 0;
|
|
734
734
|
this.sueldoNormalBonoVacaciones = 0;
|
|
735
735
|
this.sueldoNormalBonoFinAnio = 0;
|
|
736
|
+
this.codigoUnidadOrgenizativa = '';
|
|
737
|
+
this.denominacionUnidadOrgenizativa = '';
|
|
738
|
+
this.codigoCentroCosto = '';
|
|
739
|
+
this.denominacionCentroCosto = '';
|
|
740
|
+
this.estructura = '';
|
|
741
|
+
this.idUnidadAdministrativa = 0;
|
|
742
|
+
this.idCentroCosto = 0;
|
|
743
|
+
this.idEp1 = 0;
|
|
744
|
+
this.idEp2 = 0;
|
|
745
|
+
this.idEp3 = 0;
|
|
746
|
+
this.idEp4 = 0;
|
|
747
|
+
this.idEp5 = 0;
|
|
736
748
|
if (e) {
|
|
737
749
|
this.idEnterprise = +e.id_enterprise;
|
|
738
750
|
this.idEmpresa = e.id_empresa;
|
|
@@ -845,6 +857,18 @@ class MPersonalNomina extends MBasicModel {
|
|
|
845
857
|
this.sueldoNormalVariable = +e.suenorvar;
|
|
846
858
|
this.sueldoNormalBonoVacaciones = +e.suenorbon;
|
|
847
859
|
this.sueldoNormalBonoFinAnio = +e.suenorbonfin;
|
|
860
|
+
this.codigoUnidadOrgenizativa = e.coduniadm;
|
|
861
|
+
this.denominacionUnidadOrgenizativa = e.denuniadm;
|
|
862
|
+
this.codigoCentroCosto = e.codcencos;
|
|
863
|
+
this.denominacionCentroCosto = e.dencescos;
|
|
864
|
+
this.estructura = e.estructura;
|
|
865
|
+
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
866
|
+
this.idCentroCosto = +e.id_cencos;
|
|
867
|
+
this.idEp1 == +e.id_ep1;
|
|
868
|
+
this.idEp2 == +e.id_ep2;
|
|
869
|
+
this.idEp3 == +e.id_ep3;
|
|
870
|
+
this.idEp4 == +e.id_ep4;
|
|
871
|
+
this.idEp5 == +e.id_ep5;
|
|
848
872
|
}
|
|
849
873
|
else {
|
|
850
874
|
this.isNew = true;
|
|
@@ -1487,6 +1511,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1487
1511
|
this.separadorMiles = '';
|
|
1488
1512
|
this.decimales = 0;
|
|
1489
1513
|
this.decimalesAlternos = 0;
|
|
1514
|
+
this.idMonedaSecundaria = 0;
|
|
1515
|
+
this.denominacionSecundaria = '';
|
|
1516
|
+
this.codigoIsoSecundario = '';
|
|
1517
|
+
this.simboloSecundario = '';
|
|
1518
|
+
this.separadorDecimalSecundario = '';
|
|
1519
|
+
this.separadorMilesSecundario = '';
|
|
1520
|
+
this.decimalesSecundarios = 0;
|
|
1490
1521
|
if (moneda) {
|
|
1491
1522
|
this.idMoneda = +moneda.id_moneda;
|
|
1492
1523
|
this.denominacion = moneda.denmon;
|
|
@@ -1496,6 +1527,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1496
1527
|
this.simbolo = moneda.simmon;
|
|
1497
1528
|
this.decimales = parseInt(moneda.decimal);
|
|
1498
1529
|
this.decimalesAlternos = parseInt(moneda.decimal_alt);
|
|
1530
|
+
this.idMonedaSecundaria = +moneda.id_moneda_sec;
|
|
1531
|
+
this.denominacionSecundaria = moneda.denmon_sec;
|
|
1532
|
+
this.codigoIsoSecundario = moneda.codiso_sec;
|
|
1533
|
+
this.separadorDecimalSecundario = moneda.separadordec_sec;
|
|
1534
|
+
this.separadorMilesSecundario = moneda.separadormil_sec;
|
|
1535
|
+
this.simboloSecundario = moneda.simmon_sec;
|
|
1536
|
+
this.decimales = parseInt(moneda.decimal);
|
|
1499
1537
|
}
|
|
1500
1538
|
}
|
|
1501
1539
|
dataInterface() {
|
|
@@ -1508,6 +1546,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1508
1546
|
separadormil: this.separadorMiles,
|
|
1509
1547
|
decimal: this.decimales.toString(),
|
|
1510
1548
|
decimal_alt: this.decimalesAlternos.toString(),
|
|
1549
|
+
id_moneda_sec: this.idMonedaSecundaria.toString(),
|
|
1550
|
+
denmon_sec: this.denominacionSecundaria,
|
|
1551
|
+
codiso_sec: this.codigoIsoSecundario,
|
|
1552
|
+
simmon_sec: this.simboloSecundario,
|
|
1553
|
+
separadordec_sec: this.separadorDecimal,
|
|
1554
|
+
separadormil_sec: this.separadorMilesSecundario,
|
|
1555
|
+
decimal_sec: this.decimalesSecundarios.toString(),
|
|
1511
1556
|
};
|
|
1512
1557
|
}
|
|
1513
1558
|
}
|
|
@@ -4074,6 +4119,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4074
4119
|
this.codigoParroquia = '';
|
|
4075
4120
|
this.codigoComunidad = '';
|
|
4076
4121
|
this.idMoneda = 0;
|
|
4122
|
+
this.idMonedaSecundaria = 0;
|
|
4077
4123
|
this.nombreRepresentanteLegal = '';
|
|
4078
4124
|
this.cedulaRepresentanteLegal = '';
|
|
4079
4125
|
this.telefonoRepresentanteLegal = '';
|
|
@@ -4108,6 +4154,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4108
4154
|
this.codigoParroquia = e.codpar;
|
|
4109
4155
|
this.codigoComunidad = e.codmun;
|
|
4110
4156
|
this.idMoneda = +e.id_moneda;
|
|
4157
|
+
this.idMonedaSecundaria = +e.id_moneda_sec;
|
|
4111
4158
|
this.nombreRepresentanteLegal = e.nomrepleg;
|
|
4112
4159
|
this.cedulaRepresentanteLegal = e.cedrepleg;
|
|
4113
4160
|
this.telefonoRepresentanteLegal = e.telrepleg;
|
|
@@ -4164,6 +4211,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4164
4211
|
presupuesto: this.estatusPresupuesto ? '1' : '0',
|
|
4165
4212
|
tipoempresa: this.tipoEmpresa.toString(),
|
|
4166
4213
|
id_proveedor: this.idProveedor.toString(),
|
|
4214
|
+
id_moneda_sec: this.idMonedaSecundaria.toString(),
|
|
4167
4215
|
};
|
|
4168
4216
|
}
|
|
4169
4217
|
}
|
|
@@ -9390,6 +9438,9 @@ class MService extends MBasicModel {
|
|
|
9390
9438
|
this.denomination = '';
|
|
9391
9439
|
this.amount = 0;
|
|
9392
9440
|
this.expensesAccount = '';
|
|
9441
|
+
this.idUnidadMedida = 0;
|
|
9442
|
+
this.codigoUnidadMedida = '';
|
|
9443
|
+
this.denominacionMayor = '';
|
|
9393
9444
|
this.charges = [];
|
|
9394
9445
|
if (service) {
|
|
9395
9446
|
this.idEnterprise = +service.id_enterprise;
|
|
@@ -9401,6 +9452,9 @@ class MService extends MBasicModel {
|
|
|
9401
9452
|
this.amount = parseFloat(service.monser);
|
|
9402
9453
|
this.expensesAccount = service.spg_cuenta;
|
|
9403
9454
|
this.code = service.codser;
|
|
9455
|
+
this.idUnidadMedida = +service.id_unimed;
|
|
9456
|
+
this.codigoUnidadMedida = service.codunimed;
|
|
9457
|
+
this.denominacionMayor = service.denmayor;
|
|
9404
9458
|
if (service.cargos) {
|
|
9405
9459
|
this.charges = service.cargos.map(e => new MServiceCharge(e));
|
|
9406
9460
|
}
|
|
@@ -9420,7 +9474,10 @@ class MService extends MBasicModel {
|
|
|
9420
9474
|
monser: this.amount.toString(),
|
|
9421
9475
|
spg_cuenta: this.expensesAccount,
|
|
9422
9476
|
cargos: this.charges.map(e => e.interface()),
|
|
9423
|
-
codser: this.code
|
|
9477
|
+
codser: this.code,
|
|
9478
|
+
id_unimed: this.idUnidadMedida.toString(),
|
|
9479
|
+
codunimed: this.codigoUnidadMedida,
|
|
9480
|
+
denmayor: this.denominacionMayor,
|
|
9424
9481
|
};
|
|
9425
9482
|
}
|
|
9426
9483
|
}
|