sigesp 0.8.80-20220511 → 0.8.81-20220511

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.
@@ -3965,93 +3965,6 @@
3965
3965
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3966
3966
  };
3967
3967
  return MDefinicionNomina;
3968
- }(MBasicModel));
3969
- var MNominaSimple = /** @class */ (function (_super) {
3970
- __extends(MNominaSimple, _super);
3971
- function MNominaSimple(e) {
3972
- if (e === void 0) { e = null; }
3973
- var _this = _super.call(this) || this;
3974
- _this.idEmpresa = 0;
3975
- _this.idNomina = 0;
3976
- _this.codigoNomina = '';
3977
- _this.denominacioNomina = '';
3978
- _this.idPeriodoActual = 0;
3979
- _this.totalPeriodo = 0;
3980
- _this.estatus = '';
3981
- _this.estatusPeriodo = 0;
3982
- _this.calculada = false;
3983
- _this.prenomina = false;
3984
- _this.idCargo = 0;
3985
- _this.codigoCargo = '';
3986
- _this.denominacionCargo = '';
3987
- _this.nominaRac = 0;
3988
- _this.simbolo = '';
3989
- _this.color = '';
3990
- _this.estatusPersonal = 0;
3991
- _this.denominacionEstatuspersonal = '';
3992
- _this.descripcionPeriodoNomina = '';
3993
- _this.periodoActualNomina = '';
3994
- _this.editable = false;
3995
- _this.idOrganigrama = 0;
3996
- _this.codigoEstructuraOrganizativa = '';
3997
- _this.denominacionEstructuraOrganizativa = '';
3998
- if (e) {
3999
- _this.idEmpresa = parseInt(e.id_empresa);
4000
- _this.idNomina = parseInt(e.id_nomina);
4001
- _this.codigoNomina = e.codnom;
4002
- _this.denominacioNomina = e.dennom;
4003
- _this.idPeriodoActual = +e.id_periodoactual;
4004
- _this.totalPeriodo = parseFloat(e.totper),
4005
- _this.estatusPeriodo = parseInt(e.cerper);
4006
- _this.calculada = e.calculado == '1' ? true : false;
4007
- _this.prenomina = e.prenomina == '1' ? true : false;
4008
- _this.estatus = _this.calculada ? 'Calculada' :
4009
- !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4010
- _this.editable = (_this.calculada || _this.prenomina) ? false : true;
4011
- _this.idCargo = parseInt(e.id_carper);
4012
- _this.codigoCargo = e.codcar;
4013
- _this.denominacionCargo = e.descar;
4014
- _this.nominaRac = parseInt(e.racnom);
4015
- _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
4016
- _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
4017
- _this.estatusPersonal = parseInt(e.staper);
4018
- _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
4019
- _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
4020
- _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
4021
- _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
4022
- _this.denominacionEstatuspersonal = "SUSPENDIDO";
4023
- _this.descripcionPeriodoNomina = e.despernom;
4024
- _this.periodoActualNomina = e.peractnom;
4025
- _this.idOrganigrama = +e.id_organigrama;
4026
- _this.codigoEstructuraOrganizativa = e.codestorg;
4027
- _this.denominacionEstructuraOrganizativa = e.denestorg;
4028
- }
4029
- else {
4030
- _this.isNew = false;
4031
- }
4032
- return _this;
4033
- }
4034
- MNominaSimple.prototype.dataInterface = function () {
4035
- return {
4036
- id_empresa: this.idEmpresa.toString(),
4037
- id_nomina: this.idNomina.toString(),
4038
- codnom: this.codigoNomina,
4039
- dennom: this.denominacioNomina,
4040
- id_periodoactual: this.idPeriodoActual.toString(),
4041
- totper: this.totalPeriodo.toString(),
4042
- cerper: this.estatusPeriodo.toString(),
4043
- prenomina: this.prenomina ? '1' : '0',
4044
- calculado: this.calculada ? '1' : '0',
4045
- id_carper: this.idCargo.toString(),
4046
- descar: this.denominacionCargo,
4047
- codcar: this.codigoCargo,
4048
- racnom: this.nominaRac.toString(),
4049
- staper: this.estatusPersonal.toString(),
4050
- despernom: this.descripcionPeriodoNomina,
4051
- peractnom: this.periodoActualNomina,
4052
- };
4053
- };
4054
- return MNominaSimple;
4055
3968
  }(MBasicModel));
4056
3969
 
4057
3970
  var MAsignacionCargo = /** @class */ (function (_super) {
@@ -4251,7 +4164,7 @@
4251
4164
  return MCargosNominas;
4252
4165
  }(MBasicModel));
4253
4166
 
4254
- var MNominaSimple$1 = /** @class */ (function (_super) {
4167
+ var MNominaSimple = /** @class */ (function (_super) {
4255
4168
  __extends(MNominaSimple, _super);
4256
4169
  function MNominaSimple(e) {
4257
4170
  if (e === void 0) { e = null; }
@@ -4277,6 +4190,9 @@
4277
4190
  _this.descripcionPeriodoNomina = '';
4278
4191
  _this.periodoActualNomina = '';
4279
4192
  _this.editable = false;
4193
+ _this.idOrganigrama = 0;
4194
+ _this.codigoEstructuraOrganizativa = '';
4195
+ _this.denominacionEstructuraOrganizativa = '';
4280
4196
  if (e) {
4281
4197
  _this.idEmpresa = parseInt(e.id_empresa);
4282
4198
  _this.idNomina = parseInt(e.id_nomina);
@@ -4304,6 +4220,9 @@
4304
4220
  _this.denominacionEstatuspersonal = "SUSPENDIDO";
4305
4221
  _this.descripcionPeriodoNomina = e.despernom;
4306
4222
  _this.periodoActualNomina = e.peractnom;
4223
+ _this.idOrganigrama = +e.id_organigrama;
4224
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4225
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4307
4226
  }
4308
4227
  else {
4309
4228
  _this.isNew = true;
@@ -6798,7 +6717,7 @@
6798
6717
  SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
6799
6718
  return this.http.get(this.URL + "/dao/sno/personal_dao.php?idPersonal=" + idPersonal + "&tipo=" + tipo, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6800
6719
  if (res.success) {
6801
- res.data = res.data.map(function (e) { return new MNominaSimple$1(e); });
6720
+ res.data = res.data.map(function (e) { return new MNominaSimple(e); });
6802
6721
  }
6803
6722
  return res;
6804
6723
  }));
@@ -12674,7 +12593,7 @@
12674
12593
  exports.MMoneda = MMoneda;
12675
12594
  exports.MMonedaConfig = MMonedaConfig;
12676
12595
  exports.MMunicipality = MMunicipality;
12677
- exports.MNominaSimple = MNominaSimple$1;
12596
+ exports.MNominaSimple = MNominaSimple;
12678
12597
  exports.MOrganizationType = MOrganizationType;
12679
12598
  exports.MParish = MParish;
12680
12599
  exports.MPeriodoNomina = MPeriodoNomina;