sigesp 1.1.55-20250722 → 1.1.57-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.
@@ -3830,6 +3830,7 @@ class MAdministrativeUnit extends MBasicModel {
3830
3830
  this.idPersonal = 0;
3831
3831
  this.cedula = '';
3832
3832
  this.nombre = '';
3833
+ this.orden = 0;
3833
3834
  this.estructuras = [];
3834
3835
  this.centroCosto = [];
3835
3836
  if (unidad) {
@@ -3846,6 +3847,7 @@ class MAdministrativeUnit extends MBasicModel {
3846
3847
  this.idPersonal = +unidad.id_personal;
3847
3848
  this.cedula = unidad.cedper;
3848
3849
  this.nombre = unidad.nomper + ' ' + unidad.apeper;
3850
+ this.orden = +unidad.orden;
3849
3851
  if (unidad.estructuras) {
3850
3852
  this.estructuras = unidad.estructuras.map(e => new MEstructuras(e));
3851
3853
  }
@@ -3868,6 +3870,7 @@ class MAdministrativeUnit extends MBasicModel {
3868
3870
  estemireq: this.emiteRequisicion ? '1' : '0',
3869
3871
  id_uniadm: this.id.toString(),
3870
3872
  id_personal: this.idPersonal.toString(),
3873
+ orden: this.orden.toString(),
3871
3874
  estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
3872
3875
  centros: this.centroCosto.map(function (e) { return e.dataInterface(); }),
3873
3876
  };