sigesp 1.1.53-20250619 → 1.1.55-20250722

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.
@@ -3827,6 +3827,9 @@ class MAdministrativeUnit extends MBasicModel {
3827
3827
  this.id = 0;
3828
3828
  this.denominacionUnidadCentral = '';
3829
3829
  this.codigoUnidadCentral = '';
3830
+ this.idPersonal = 0;
3831
+ this.cedula = '';
3832
+ this.nombre = '';
3830
3833
  this.estructuras = [];
3831
3834
  this.centroCosto = [];
3832
3835
  if (unidad) {
@@ -3840,6 +3843,9 @@ class MAdministrativeUnit extends MBasicModel {
3840
3843
  this.emiteRequisicion = unidad.estemireq == '1' ? true : false;
3841
3844
  this.denominacionUnidadCentral = unidad.denuac;
3842
3845
  this.codigoUnidadCentral = unidad.codigouac;
3846
+ this.idPersonal = +unidad.id_personal;
3847
+ this.cedula = unidad.cedper;
3848
+ this.nombre = unidad.nomper + ' ' + unidad.apeper;
3843
3849
  if (unidad.estructuras) {
3844
3850
  this.estructuras = unidad.estructuras.map(e => new MEstructuras(e));
3845
3851
  }
@@ -3861,6 +3867,7 @@ class MAdministrativeUnit extends MBasicModel {
3861
3867
  denuniadm: this.denominacion,
3862
3868
  estemireq: this.emiteRequisicion ? '1' : '0',
3863
3869
  id_uniadm: this.id.toString(),
3870
+ id_personal: this.idPersonal.toString(),
3864
3871
  estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
3865
3872
  centros: this.centroCosto.map(function (e) { return e.dataInterface(); }),
3866
3873
  };