sigesp 0.9.43-23230413 → 0.9.45-23230426

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.
@@ -3396,6 +3396,13 @@
3396
3396
  _this.idEP3 = 0;
3397
3397
  _this.idEP4 = 0;
3398
3398
  _this.idEP5 = 0;
3399
+ _this.codigoFuenteFinanciaminto = 0;
3400
+ _this.idUnidadAdministrativa = 0;
3401
+ _this.denominacionUnidadAdministrativa = '';
3402
+ _this.codigoUnidadAdministrativa = '';
3403
+ _this.codigoFuenteFinanciamintoMostrar = '';
3404
+ _this.codigoCentroCosto = '';
3405
+ _this.estructuraPresupuestaria = '';
3399
3406
  if (emp) {
3400
3407
  _this.idEmpresa = parseInt(emp.id_empresa);
3401
3408
  _this.rif = emp.rifemp;
@@ -3436,6 +3443,13 @@
3436
3443
  _this.idEP3 = +emp.id_ep3;
3437
3444
  _this.idEP4 = +emp.id_ep4;
3438
3445
  _this.idEP5 = +emp.id_ep5;
3446
+ _this.codigoFuenteFinanciaminto = +emp.codfuefin;
3447
+ _this.idUnidadAdministrativa = +emp.id_uniadm;
3448
+ _this.denominacionUnidadAdministrativa = emp.denuniadm;
3449
+ _this.codigoUnidadAdministrativa = emp.coduniadm;
3450
+ _this.codigoFuenteFinanciamintoMostrar = emp.codigoftefin;
3451
+ _this.codigoCentroCosto = emp.codcencos;
3452
+ _this.estructuraPresupuestaria = emp.estpre;
3439
3453
  }
3440
3454
  return _this;
3441
3455
  }
@@ -3479,6 +3493,10 @@
3479
3493
  id_ep3: this.idEP3.toString(),
3480
3494
  id_ep4: this.idEP4.toString(),
3481
3495
  id_ep5: this.idEP5.toString(),
3496
+ id_uniadm: this.idUnidadAdministrativa.toString(),
3497
+ codcencos: this.codigoCentroCosto,
3498
+ codfuefin: this.codigoFuenteFinanciaminto.toString(),
3499
+ estpre: this.estructuraPresupuestaria,
3482
3500
  };
3483
3501
  };
3484
3502
  return MEmpresa;
@@ -7511,6 +7529,12 @@
7511
7529
  return res;
7512
7530
  }));
7513
7531
  };
7532
+ /**
7533
+ * @description obtiene las cuenta segun el id
7534
+ * @param tipo {'banco', 'default'}
7535
+ * @param id para la opcion banco usar id=idBanco, opcion defaulf id=idEnterprise
7536
+ * @returns
7537
+ */
7514
7538
  SigespService.prototype.getAllBankAccount = function (tipo, id) {
7515
7539
  return this.http.get(this.URL + "/dao/scb/cuenta_banco_dao.php?tipo=" + tipo + "&e=" + id, { headers: this.getHttpHeaders() })
7516
7540
  .pipe(operators.map(function (res) {
@@ -9240,7 +9264,7 @@
9240
9264
  _this.codigoTabulador = p.codtab;
9241
9265
  _this.denominacionTabulador = p.destab;
9242
9266
  _this.idPersonalCargo = parseInt(p.id_personalcargo);
9243
- _this.montoSalarioGrado = parseFloat(p.moncomgra);
9267
+ _this.montoSalarioGrado = parseFloat(p.monsalgra);
9244
9268
  _this.montoCompensacionGrado = parseFloat(p.moncomgra);
9245
9269
  _this.estatusMPPPE = p.estmpppe == '1' ? true : false;
9246
9270
  _this.idClasificadorDocente = +p.id_clasificacion_docente;