sigesp 1.1.63-202508145 → 1.1.65-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/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/sigesp.service.mjs +2 -2
- package/fesm2015/sigesp.mjs +49 -1
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +49 -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/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/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
|
}
|
|
@@ -7762,7 +7810,7 @@ class SigespService {
|
|
|
7762
7810
|
* @modificado 17-07-2023
|
|
7763
7811
|
*/
|
|
7764
7812
|
getProvidersAndBeneficiaries(type = 'default', idEnterprise, destination = null, account = 'N') {
|
|
7765
|
-
return this.http.get(`${this.URL}/dao/rpc/proveedor_beneficiario_dao.php?
|
|
7813
|
+
return this.http.get(`${this.URL}/dao/rpc/proveedor_beneficiario_dao.php?provider_type=${type}&e=${idEnterprise}&destination=${destination}&account=${account}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7766
7814
|
if (res.success) {
|
|
7767
7815
|
res.data = res.data.map(e => new MProviderBeneficiary(e));
|
|
7768
7816
|
}
|