sigesp 1.1.24-20241113 → 1.1.25-20241118

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.
@@ -2384,6 +2384,8 @@ class MUserDetail extends MBasicModel {
2384
2384
  this.telephone = '';
2385
2385
  this.admin = false;
2386
2386
  this.rights = [];
2387
+ this.ultcon = '';
2388
+ this.id_personal = 0;
2387
2389
  if (user) {
2388
2390
  this.idCompany = parseInt(user.id_empresa);
2389
2391
  this.idEnterprise = parseInt(user.id_enterprise);
@@ -2403,6 +2405,8 @@ class MUserDetail extends MBasicModel {
2403
2405
  this.password = user.pwdusu;
2404
2406
  this.telephone = user.telusu;
2405
2407
  this.admin = user.usuadm == "1";
2408
+ this.ultcon = user.ultcon;
2409
+ this.id_personal = +user.id_personal;
2406
2410
  this.rights = user.derechos ? user.derechos.map(e => new MRights(e)) : [];
2407
2411
  }
2408
2412
  else {
@@ -2429,6 +2433,8 @@ class MUserDetail extends MBasicModel {
2429
2433
  pwdusu: this.password,
2430
2434
  telusu: this.telephone,
2431
2435
  usuadm: this.admin ? '1' : '2',
2436
+ ultcon: this.ultcon,
2437
+ id_personal: this.id_personal.toString(),
2432
2438
  derechos: this.rights.map(e => e.interface())
2433
2439
  };
2434
2440
  }