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/fesm2015/sigesp.mjs
CHANGED
|
@@ -734,6 +734,18 @@ class MPersonalNomina extends MBasicModel {
|
|
|
734
734
|
this.sueldoNormalVariable = 0;
|
|
735
735
|
this.sueldoNormalBonoVacaciones = 0;
|
|
736
736
|
this.sueldoNormalBonoFinAnio = 0;
|
|
737
|
+
this.codigoUnidadOrgenizativa = '';
|
|
738
|
+
this.denominacionUnidadOrgenizativa = '';
|
|
739
|
+
this.codigoCentroCosto = '';
|
|
740
|
+
this.denominacionCentroCosto = '';
|
|
741
|
+
this.estructura = '';
|
|
742
|
+
this.idUnidadAdministrativa = 0;
|
|
743
|
+
this.idCentroCosto = 0;
|
|
744
|
+
this.idEp1 = 0;
|
|
745
|
+
this.idEp2 = 0;
|
|
746
|
+
this.idEp3 = 0;
|
|
747
|
+
this.idEp4 = 0;
|
|
748
|
+
this.idEp5 = 0;
|
|
737
749
|
if (e) {
|
|
738
750
|
this.idEnterprise = +e.id_enterprise;
|
|
739
751
|
this.idEmpresa = e.id_empresa;
|
|
@@ -846,6 +858,18 @@ class MPersonalNomina extends MBasicModel {
|
|
|
846
858
|
this.sueldoNormalVariable = +e.suenorvar;
|
|
847
859
|
this.sueldoNormalBonoVacaciones = +e.suenorbon;
|
|
848
860
|
this.sueldoNormalBonoFinAnio = +e.suenorbonfin;
|
|
861
|
+
this.codigoUnidadOrgenizativa = e.coduniadm;
|
|
862
|
+
this.denominacionUnidadOrgenizativa = e.denuniadm;
|
|
863
|
+
this.codigoCentroCosto = e.codcencos;
|
|
864
|
+
this.denominacionCentroCosto = e.dencescos;
|
|
865
|
+
this.estructura = e.estructura;
|
|
866
|
+
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
867
|
+
this.idCentroCosto = +e.id_cencos;
|
|
868
|
+
this.idEp1 == +e.id_ep1;
|
|
869
|
+
this.idEp2 == +e.id_ep2;
|
|
870
|
+
this.idEp3 == +e.id_ep3;
|
|
871
|
+
this.idEp4 == +e.id_ep4;
|
|
872
|
+
this.idEp5 == +e.id_ep5;
|
|
849
873
|
}
|
|
850
874
|
else {
|
|
851
875
|
this.isNew = true;
|
|
@@ -1490,6 +1514,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1490
1514
|
this.separadorMiles = '';
|
|
1491
1515
|
this.decimales = 0;
|
|
1492
1516
|
this.decimalesAlternos = 0;
|
|
1517
|
+
this.idMonedaSecundaria = 0;
|
|
1518
|
+
this.denominacionSecundaria = '';
|
|
1519
|
+
this.codigoIsoSecundario = '';
|
|
1520
|
+
this.simboloSecundario = '';
|
|
1521
|
+
this.separadorDecimalSecundario = '';
|
|
1522
|
+
this.separadorMilesSecundario = '';
|
|
1523
|
+
this.decimalesSecundarios = 0;
|
|
1493
1524
|
if (moneda) {
|
|
1494
1525
|
this.idMoneda = +moneda.id_moneda;
|
|
1495
1526
|
this.denominacion = moneda.denmon;
|
|
@@ -1499,6 +1530,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1499
1530
|
this.simbolo = moneda.simmon;
|
|
1500
1531
|
this.decimales = parseInt(moneda.decimal);
|
|
1501
1532
|
this.decimalesAlternos = parseInt(moneda.decimal_alt);
|
|
1533
|
+
this.idMonedaSecundaria = +moneda.id_moneda_sec;
|
|
1534
|
+
this.denominacionSecundaria = moneda.denmon_sec;
|
|
1535
|
+
this.codigoIsoSecundario = moneda.codiso_sec;
|
|
1536
|
+
this.separadorDecimalSecundario = moneda.separadordec_sec;
|
|
1537
|
+
this.separadorMilesSecundario = moneda.separadormil_sec;
|
|
1538
|
+
this.simboloSecundario = moneda.simmon_sec;
|
|
1539
|
+
this.decimales = parseInt(moneda.decimal);
|
|
1502
1540
|
}
|
|
1503
1541
|
}
|
|
1504
1542
|
dataInterface() {
|
|
@@ -1511,6 +1549,13 @@ class MMonedaConfig extends MBasicModel {
|
|
|
1511
1549
|
separadormil: this.separadorMiles,
|
|
1512
1550
|
decimal: this.decimales.toString(),
|
|
1513
1551
|
decimal_alt: this.decimalesAlternos.toString(),
|
|
1552
|
+
id_moneda_sec: this.idMonedaSecundaria.toString(),
|
|
1553
|
+
denmon_sec: this.denominacionSecundaria,
|
|
1554
|
+
codiso_sec: this.codigoIsoSecundario,
|
|
1555
|
+
simmon_sec: this.simboloSecundario,
|
|
1556
|
+
separadordec_sec: this.separadorDecimal,
|
|
1557
|
+
separadormil_sec: this.separadorMilesSecundario,
|
|
1558
|
+
decimal_sec: this.decimalesSecundarios.toString(),
|
|
1514
1559
|
};
|
|
1515
1560
|
}
|
|
1516
1561
|
}
|
|
@@ -4085,6 +4130,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4085
4130
|
this.codigoParroquia = '';
|
|
4086
4131
|
this.codigoComunidad = '';
|
|
4087
4132
|
this.idMoneda = 0;
|
|
4133
|
+
this.idMonedaSecundaria = 0;
|
|
4088
4134
|
this.nombreRepresentanteLegal = '';
|
|
4089
4135
|
this.cedulaRepresentanteLegal = '';
|
|
4090
4136
|
this.telefonoRepresentanteLegal = '';
|
|
@@ -4119,6 +4165,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4119
4165
|
this.codigoParroquia = e.codpar;
|
|
4120
4166
|
this.codigoComunidad = e.codmun;
|
|
4121
4167
|
this.idMoneda = +e.id_moneda;
|
|
4168
|
+
this.idMonedaSecundaria = +e.id_moneda_sec;
|
|
4122
4169
|
this.nombreRepresentanteLegal = e.nomrepleg;
|
|
4123
4170
|
this.cedulaRepresentanteLegal = e.cedrepleg;
|
|
4124
4171
|
this.telefonoRepresentanteLegal = e.telrepleg;
|
|
@@ -4175,6 +4222,7 @@ class MEmpresa extends MBasicModel {
|
|
|
4175
4222
|
presupuesto: this.estatusPresupuesto ? '1' : '0',
|
|
4176
4223
|
tipoempresa: this.tipoEmpresa.toString(),
|
|
4177
4224
|
id_proveedor: this.idProveedor.toString(),
|
|
4225
|
+
id_moneda_sec: this.idMonedaSecundaria.toString(),
|
|
4178
4226
|
};
|
|
4179
4227
|
}
|
|
4180
4228
|
}
|
|
@@ -7795,7 +7843,7 @@ class SigespService {
|
|
|
7795
7843
|
* @modificado 17-07-2023
|
|
7796
7844
|
*/
|
|
7797
7845
|
getProvidersAndBeneficiaries(type = 'default', idEnterprise, destination = null, account = 'N') {
|
|
7798
|
-
return this.http.get(`${this.URL}/dao/rpc/proveedor_beneficiario_dao.php?
|
|
7846
|
+
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) => {
|
|
7799
7847
|
if (res.success) {
|
|
7800
7848
|
res.data = res.data.map(e => new MProviderBeneficiary(e));
|
|
7801
7849
|
}
|