sigesp 1.0.22-20240826 → 1.0.24-20240902

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.
@@ -715,8 +715,9 @@ class MPersonalNomina extends MBasicModel {
715
715
  this.idPermisoPersonal = 0;
716
716
  this.codigoPermisoPersonal = '';
717
717
  this.denominacionPermisoPersonal = '';
718
- this.tipoCargo = '';
718
+ this.tipoCargo = 'N';
719
719
  this.denominacionTipoCargo = '';
720
+ this.TipoCargo = TipoCargo;
720
721
  if (e) {
721
722
  this.idEnterprise = +e.id_enterprise;
722
723
  this.idEmpresa = e.id_empresa;
@@ -830,7 +831,7 @@ class MPersonalNomina extends MBasicModel {
830
831
  this.denominacionPermisoPersonal = e.denperper;
831
832
  this.codigoPermisoPersonal = e.codperper;
832
833
  this.tipoCargo = e.tipcar;
833
- this.denominacionTipoCargo = this.TipoCargo.find(e => e.value == e.tipoCargo).denominacion;
834
+ this.denominacionTipoCargo = this.TipoCargo.find(e => e.value == this.tipoCargo).denominacion;
834
835
  }
835
836
  else {
836
837
  this.isNew = true;