sigesp 1.1.65-20250906 → 1.1.67-20250906

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.
@@ -9438,6 +9438,9 @@ class MService extends MBasicModel {
9438
9438
  this.denomination = '';
9439
9439
  this.amount = 0;
9440
9440
  this.expensesAccount = '';
9441
+ this.idUnidadMedida = 0;
9442
+ this.codigoUnidadMedida = '';
9443
+ this.denominacionMayor = '';
9441
9444
  this.charges = [];
9442
9445
  if (service) {
9443
9446
  this.idEnterprise = +service.id_enterprise;
@@ -9449,6 +9452,9 @@ class MService extends MBasicModel {
9449
9452
  this.amount = parseFloat(service.monser);
9450
9453
  this.expensesAccount = service.spg_cuenta;
9451
9454
  this.code = service.codser;
9455
+ this.idUnidadMedida = +service.id_unimed;
9456
+ this.codigoUnidadMedida = service.codunimed;
9457
+ this.denominacionMayor = service.denmayor;
9452
9458
  if (service.cargos) {
9453
9459
  this.charges = service.cargos.map(e => new MServiceCharge(e));
9454
9460
  }
@@ -9468,7 +9474,10 @@ class MService extends MBasicModel {
9468
9474
  monser: this.amount.toString(),
9469
9475
  spg_cuenta: this.expensesAccount,
9470
9476
  cargos: this.charges.map(e => e.interface()),
9471
- codser: this.code
9477
+ codser: this.code,
9478
+ id_unimed: this.idUnidadMedida.toString(),
9479
+ codunimed: this.codigoUnidadMedida,
9480
+ denmayor: this.denominacionMayor,
9472
9481
  };
9473
9482
  }
9474
9483
  }
@@ -10109,6 +10118,18 @@ class MCargosPersonal extends MBasicModel {
10109
10118
  this.idPuestoTrabajo = 0;
10110
10119
  this.codigoPuestoTrabajo = '';
10111
10120
  this.descripcionPuestoTrabajo = '';
10121
+ this.codigoUnidadOrganizativa = '';
10122
+ this.denominacionUnidadOrganizativa = '';
10123
+ this.codigoCentroCosto = '';
10124
+ this.denominacionCentroCosto = '';
10125
+ this.estructura = '';
10126
+ this.idUnidadAdministrativa = 0;
10127
+ this.idCentroCosto = 0;
10128
+ this.idEp1 = 0;
10129
+ this.idEp2 = 0;
10130
+ this.idEp3 = 0;
10131
+ this.idEp4 = 0;
10132
+ this.idEp5 = 0;
10112
10133
  if (p) {
10113
10134
  this.idEnterprise = +p.id_enterprise;
10114
10135
  this.idEmpresa = +p.id_empresa;
@@ -10148,6 +10169,18 @@ class MCargosPersonal extends MBasicModel {
10148
10169
  this.estatus ? this.denominacionEstatus = 'ACTIVO' : this.denominacionEstatus = 'INACTIVO';
10149
10170
  this.descripcionPuestoTrabajo = p.despuetra;
10150
10171
  this.codigoPuestoTrabajo = p.codpuetra;
10172
+ this.codigoUnidadOrganizativa = p.coduniadm;
10173
+ this.denominacionUnidadOrganizativa = p.denuniadm;
10174
+ this.codigoCentroCosto = p.codcencos;
10175
+ this.denominacionCentroCosto = p.dencescos;
10176
+ this.estructura = p.estructura;
10177
+ this.idUnidadAdministrativa = +p.id_uniadm;
10178
+ this.idCentroCosto = +p.id_cencos;
10179
+ this.idEp1 = +p.id_ep1;
10180
+ this.idEp2 = +p.id_ep2;
10181
+ this.idEp3 = +p.id_ep3;
10182
+ this.idEp4 = +p.id_ep4;
10183
+ this.idEp5 = +p.id_ep5;
10151
10184
  if (p.detalles_nomina) {
10152
10185
  this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
10153
10186
  }