sigesp 1.1.33-20241215 → 1.1.35-20241216
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/Nomina.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +14 -4
- package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +13 -1
- package/esm2020/lib/sigesp.service.mjs +13 -9
- package/fesm2015/sigesp.mjs +37 -11
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +37 -11
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +10 -1
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +5 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +4 -0
- package/lib/sigesp.service.d.ts +8 -4
- package/package.json +1 -1
package/fesm2015/sigesp.mjs
CHANGED
|
@@ -720,6 +720,10 @@ class MPersonalNomina extends MBasicModel {
|
|
|
720
720
|
this.tipoCargo = 'N';
|
|
721
721
|
this.denominacionTipoCargo = '';
|
|
722
722
|
this.TipoCargo = TipoCargo;
|
|
723
|
+
this.sueldoNormalFijo = 0;
|
|
724
|
+
this.sueldoNormalVariable = 0;
|
|
725
|
+
this.sueldoNormalBonoVacaciones = 0;
|
|
726
|
+
this.sueldoNormalBonoFinAnio = 0;
|
|
723
727
|
if (e) {
|
|
724
728
|
this.idEnterprise = +e.id_enterprise;
|
|
725
729
|
this.idEmpresa = e.id_empresa;
|
|
@@ -828,6 +832,10 @@ class MPersonalNomina extends MBasicModel {
|
|
|
828
832
|
this.codigoPermisoPersonal = e.codperper;
|
|
829
833
|
this.tipoCargo = e.tipcar;
|
|
830
834
|
this.denominacionTipoCargo = this.TipoCargo.find(e => e.value == this.tipoCargo).denominacion;
|
|
835
|
+
this.sueldoNormalFijo = +e.suenorfij;
|
|
836
|
+
this.sueldoNormalVariable = +e.suenorvar;
|
|
837
|
+
this.sueldoNormalBonoVacaciones = +e.suenorbon;
|
|
838
|
+
this.sueldoNormalBonoFinAnio = +e.suenorbonfin;
|
|
831
839
|
}
|
|
832
840
|
else {
|
|
833
841
|
this.isNew = true;
|
|
@@ -921,6 +929,10 @@ class MPersonalNomina extends MBasicModel {
|
|
|
921
929
|
id_clasificacion_docente: this.idClasificadorDocente.toString(),
|
|
922
930
|
id_planhor: this.idPlanHorario.toString(),
|
|
923
931
|
tipcar: this.tipoCargo,
|
|
932
|
+
suenorfij: this.sueldoNormalFijo.toString(),
|
|
933
|
+
suenorvar: this.sueldoNormalVariable.toString(),
|
|
934
|
+
suenorbon: this.sueldoNormalBonoVacaciones.toString(),
|
|
935
|
+
suenorbonfin: this.sueldoNormalBonoFinAnio.toString(),
|
|
924
936
|
};
|
|
925
937
|
}
|
|
926
938
|
}
|
|
@@ -6788,8 +6800,8 @@ class SigespService {
|
|
|
6788
6800
|
* @param id de la estructura el idEp3 o idEp5
|
|
6789
6801
|
* @return Observable<MCuentaEgresos[]>
|
|
6790
6802
|
*/
|
|
6791
|
-
planInstitucionalSPG(tipo = 'plan', idEnterprise, periodoFiscal, idEP3o5, nivel) {
|
|
6792
|
-
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?tipo=${tipo}&e=${idEnterprise}&periodo=${periodoFiscal}&id=${idEP3o5}&nivel=${nivel}`, { headers: this.getHttpHeaders() })
|
|
6803
|
+
planInstitucionalSPG(tipo = 'plan', idEnterprise, periodoFiscal, idEP3o5, nivel, estatus = '') {
|
|
6804
|
+
return this.http.get(`${this.URL}/dao/spg/cuentas_egresos_dao.php?tipo=${tipo}&e=${idEnterprise}&periodo=${periodoFiscal}&id=${idEP3o5}&nivel=${nivel}&est=${estatus}`, { headers: this.getHttpHeaders() })
|
|
6793
6805
|
.pipe(map((res) => res.data.map(element => new MCuentaEgresos(element))));
|
|
6794
6806
|
}
|
|
6795
6807
|
/**
|
|
@@ -7289,9 +7301,9 @@ class SigespService {
|
|
|
7289
7301
|
* @return Promise<MCuentaPresupuesto>
|
|
7290
7302
|
* @author Miguel Ramírez
|
|
7291
7303
|
*/
|
|
7292
|
-
openDialogCuentasPresupuesto() {
|
|
7304
|
+
openDialogCuentasPresupuesto(idEnterprise, periodoFiscal) {
|
|
7293
7305
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7294
|
-
let accounts = yield this.getCuentasPresupuesto().toPromise();
|
|
7306
|
+
let accounts = yield this.getCuentasPresupuesto(idEnterprise, periodoFiscal).toPromise();
|
|
7295
7307
|
let dialogRef = this.dialog.open(CatalogoComponent, {
|
|
7296
7308
|
data: {
|
|
7297
7309
|
columnNames: ['cuenta', 'denominación'],
|
|
@@ -7309,9 +7321,13 @@ class SigespService {
|
|
|
7309
7321
|
* @description Obtiene las cuentas de recursos y egresos
|
|
7310
7322
|
* @return Observable<MCuentaPresupuesto>
|
|
7311
7323
|
* @author Miguel Ramírez
|
|
7324
|
+
* @param filter {numero,sno,C,egreso,ingreso}
|
|
7325
|
+
* @param idEnterprise
|
|
7326
|
+
* @param peridoFiscal
|
|
7327
|
+
* @returns
|
|
7312
7328
|
*/
|
|
7313
|
-
getCuentasPresupuesto(filter) {
|
|
7314
|
-
return this.http.get(`${this.URL}/dao/spg/plan_cuentas_recursos_egresos_dao.php?filter=${filter}`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
|
|
7329
|
+
getCuentasPresupuesto(idEnterprise, peridoFiscal, filter = 'default') {
|
|
7330
|
+
return this.http.get(`${this.URL}/dao/spg/plan_cuentas_recursos_egresos_dao.php?filter=${filter}&e=${idEnterprise}&per=${peridoFiscal}`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
|
|
7315
7331
|
}
|
|
7316
7332
|
/**
|
|
7317
7333
|
* @description Abre el cátalogo de cuentas de la tabla "spg_cuentas"
|
|
@@ -7361,10 +7377,10 @@ class SigespService {
|
|
|
7361
7377
|
* @author Carlos Albornoz
|
|
7362
7378
|
* @params filtro: Indica bajo que parametros se va a filtrar el catalogo
|
|
7363
7379
|
*/
|
|
7364
|
-
openCatalogoCuentasPresuspuesto(titulo, filtro = null, ancho = '1000px') {
|
|
7380
|
+
openCatalogoCuentasPresuspuesto(titulo, filtro = null, ancho = '1000px', idEnterprise, periodoFiscal) {
|
|
7365
7381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7366
7382
|
let cuentas = [];
|
|
7367
|
-
yield this.getCuentasPresupuesto().toPromise().then((res) => {
|
|
7383
|
+
yield this.getCuentasPresupuesto(idEnterprise, periodoFiscal).toPromise().then((res) => {
|
|
7368
7384
|
cuentas = res;
|
|
7369
7385
|
if (filtro) {
|
|
7370
7386
|
if (filtro.estado) {
|
|
@@ -10279,6 +10295,7 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10279
10295
|
this.formulaConceptos = '';
|
|
10280
10296
|
this.idCentroCosto = 0;
|
|
10281
10297
|
this.codigoCentroCosto = '---';
|
|
10298
|
+
this.denominacionCentroCosto = '';
|
|
10282
10299
|
this.conceptoGlobal = 0;
|
|
10283
10300
|
this.condicionConcepto = '';
|
|
10284
10301
|
this.spgCuentaConcepto = '';
|
|
@@ -10328,6 +10345,10 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10328
10345
|
this.codigoUnidadAdministrativa = '';
|
|
10329
10346
|
this.denominacionUnidadAdministraiva = '';
|
|
10330
10347
|
this.perteneceBeneficiario = 0;
|
|
10348
|
+
this.idFuenteFinanciamiento = 0;
|
|
10349
|
+
this.codigoFueteFinanciamiento = '';
|
|
10350
|
+
this.denominacionFueteFinanciamiento = '';
|
|
10351
|
+
this.denominacionCuentaPresupuesto = '';
|
|
10331
10352
|
if (e) {
|
|
10332
10353
|
this.idEnterprise = +e.id_enterprise;
|
|
10333
10354
|
this.idEmpresa = +e.id_empresa;
|
|
@@ -10338,7 +10359,6 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10338
10359
|
this.tituloConcepto = e.titcon;
|
|
10339
10360
|
this.signoConcepto = e.sigcon;
|
|
10340
10361
|
this.formulaConceptos = e.forcon;
|
|
10341
|
-
this.codigoCentroCosto = e.codcencos;
|
|
10342
10362
|
this.conceptoGlobal = +e.glocon;
|
|
10343
10363
|
this.condicionConcepto = e.concon;
|
|
10344
10364
|
this.spgCuentaConcepto = e.spg_cuentacon;
|
|
@@ -10387,12 +10407,17 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10387
10407
|
this.evaluarEnPrenomina = +e.evaprenom;
|
|
10388
10408
|
this.antiguedadComplementaria = +e.antigcomp;
|
|
10389
10409
|
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
10390
|
-
this.codigoUnidadAdministrativa = e.coduniadm;
|
|
10391
|
-
this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
10392
10410
|
this.estructuraProgramatica = e.estructura;
|
|
10393
10411
|
this.perteneceBeneficiario = +e.perben;
|
|
10394
10412
|
this.idConstanteUnicaConcepto = +e.id_constante;
|
|
10395
10413
|
this.idCentroCosto = +e.id_cencos;
|
|
10414
|
+
this.denominacionCentroCosto = e.dencencos;
|
|
10415
|
+
this.codigoCentroCosto = e.codcencos;
|
|
10416
|
+
this.codigoUnidadAdministrativa = e.coduniadm;
|
|
10417
|
+
this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
10418
|
+
this.idFuenteFinanciamiento = +e.id_fuefin;
|
|
10419
|
+
this.denominacionFueteFinanciamiento = e.denfuefin;
|
|
10420
|
+
this.codigoFueteFinanciamiento = e.codigoftefin;
|
|
10396
10421
|
}
|
|
10397
10422
|
else {
|
|
10398
10423
|
this.isNew = true;
|
|
@@ -10456,6 +10481,7 @@ class MConceptosNomina extends MBasicModel {
|
|
|
10456
10481
|
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
10457
10482
|
perben: this.perteneceBeneficiario.toString(),
|
|
10458
10483
|
id_cencos: this.idCentroCosto.toString(),
|
|
10484
|
+
id_fuefin: this.idFuenteFinanciamiento.toString()
|
|
10459
10485
|
};
|
|
10460
10486
|
}
|
|
10461
10487
|
denominacionSigno(sig) {
|