sigesp 0.9.23-20221230 → 0.9.25-20230119
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/bundles/sigesp.umd.js +42 -18
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +2 -2
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Configuracion.js +1 -1
- package/esm2015/lib/core/interfaces/Presupuesto.js +1 -1
- package/esm2015/lib/core/models/CFG/Enterprise.model.js +5 -2
- package/esm2015/lib/core/models/SNO/MGrado.model.js +5 -5
- package/esm2015/lib/core/models/SPG/administrativeUnit.model.js +35 -14
- package/esm2015/lib/sigesp.service.js +1 -1
- package/fesm2015/sigesp.js +42 -18
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Configuracion.d.ts +1 -0
- package/lib/core/interfaces/Presupuesto.d.ts +3 -2
- package/lib/core/models/CFG/Enterprise.model.d.ts +1 -0
- package/lib/core/models/SNO/MGrado.model.d.ts +2 -2
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +8 -5
- package/lib/sigesp.service.d.ts +1 -1
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -187,6 +187,7 @@ class MEnterprise extends MBasicModel {
|
|
|
187
187
|
this.cuentaPasivoDiferido = '';
|
|
188
188
|
this.cuentAnterior = '';
|
|
189
189
|
this.cuentSobrante = '';
|
|
190
|
+
this.diaFechaVencimiento = 0;
|
|
190
191
|
if (e) {
|
|
191
192
|
this.idEmpresa = +e.id_empresa;
|
|
192
193
|
this.idEnterprise = +e.id_enterprise;
|
|
@@ -205,6 +206,7 @@ class MEnterprise extends MBasicModel {
|
|
|
205
206
|
this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
|
|
206
207
|
this.cuentAnterior = e.sc_cuenta_ant;
|
|
207
208
|
this.cuentSobrante = e.spi_cuenta_sobrante;
|
|
209
|
+
this.diaFechaVencimiento = +e.diafecven;
|
|
208
210
|
}
|
|
209
211
|
else {
|
|
210
212
|
this.isNew = true;
|
|
@@ -228,7 +230,8 @@ class MEnterprise extends MBasicModel {
|
|
|
228
230
|
sc_cuenta_perdida: this.cuentaPerdida,
|
|
229
231
|
sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
|
|
230
232
|
sc_cuenta_ant: this.cuentAnterior,
|
|
231
|
-
spi_cuenta_sobrante: this.cuentSobrante
|
|
233
|
+
spi_cuenta_sobrante: this.cuentSobrante,
|
|
234
|
+
diafecven: this.diaFechaVencimiento.toString(),
|
|
232
235
|
};
|
|
233
236
|
}
|
|
234
237
|
}
|
|
@@ -2811,20 +2814,41 @@ class MConfigSSS extends MBasicModel {
|
|
|
2811
2814
|
class MAdministrativeUnit extends MBasicModel {
|
|
2812
2815
|
constructor(unidad) {
|
|
2813
2816
|
super();
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2817
|
+
this.idEmpresa = 0;
|
|
2818
|
+
this.idEnterprise = 0;
|
|
2819
|
+
this.codigo = 0;
|
|
2816
2820
|
this.denominacion = '';
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2820
|
-
this.id =
|
|
2821
|
-
this.
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2821
|
+
this.unidadCentral = 0;
|
|
2822
|
+
this.emiteRequisicion = 0;
|
|
2823
|
+
this.centroCosto = '';
|
|
2824
|
+
this.id = 0;
|
|
2825
|
+
this.denominacionUnidadCentral = '';
|
|
2826
|
+
if (unidad) {
|
|
2827
|
+
this.idEmpresa = unidad.id_empresa;
|
|
2828
|
+
this.idEnterprise = unidad.id_enterprise;
|
|
2829
|
+
this.codigo = unidad.coduniadm;
|
|
2830
|
+
this.denominacion = unidad.denuniadm;
|
|
2831
|
+
this.unidadCentral = unidad.coduac;
|
|
2832
|
+
this.emiteRequisicion = unidad.estemireq;
|
|
2833
|
+
this.centroCosto = unidad.codcencos;
|
|
2834
|
+
this.id = unidad.id_uniadm;
|
|
2835
|
+
this.denominacionUnidadCentral = unidad.denuac;
|
|
2836
|
+
}
|
|
2837
|
+
else {
|
|
2838
|
+
this.isNew = true;
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
dataInterface() {
|
|
2842
|
+
return {
|
|
2843
|
+
id_empresa: this.idEmpresa,
|
|
2844
|
+
id_enterprise: this.idEnterprise,
|
|
2845
|
+
coduniadm: this.codigo,
|
|
2846
|
+
coduac: this.unidadCentral,
|
|
2847
|
+
denuniadm: this.denominacion,
|
|
2848
|
+
estemireq: this.emiteRequisicion,
|
|
2849
|
+
codcencos: this.centroCosto,
|
|
2850
|
+
id_uniadm: this.id,
|
|
2851
|
+
};
|
|
2828
2852
|
}
|
|
2829
2853
|
}
|
|
2830
2854
|
|
|
@@ -10843,8 +10867,8 @@ class MGrados extends MBasicModel {
|
|
|
10843
10867
|
this.idEnterprise = 0;
|
|
10844
10868
|
this.idEmpresa = 0;
|
|
10845
10869
|
this.idTabulador = 0;
|
|
10846
|
-
this.codigoGrado =
|
|
10847
|
-
this.codigoPaso =
|
|
10870
|
+
this.codigoGrado = '';
|
|
10871
|
+
this.codigoPaso = '';
|
|
10848
10872
|
this.montoSalario = 0;
|
|
10849
10873
|
this.montoCompensacion = 0;
|
|
10850
10874
|
this.yearDesde = 0;
|
|
@@ -10855,8 +10879,8 @@ class MGrados extends MBasicModel {
|
|
|
10855
10879
|
this.idEnterprise = +e.id_enterprise;
|
|
10856
10880
|
this.idEmpresa = +e.id_empresa;
|
|
10857
10881
|
this.idTabulador = parseInt(e.id_tabulador);
|
|
10858
|
-
this.codigoGrado =
|
|
10859
|
-
this.codigoPaso =
|
|
10882
|
+
this.codigoGrado = e.codgra;
|
|
10883
|
+
this.codigoPaso = e.codpas;
|
|
10860
10884
|
this.montoSalario = parseFloat(e.monsalgra);
|
|
10861
10885
|
this.montoCompensacion = parseFloat(e.moncomgra);
|
|
10862
10886
|
this.yearDesde = parseInt(e.aniodes);
|