sigesp 1.1.65-20250906 → 1.1.66-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.
- package/esm2020/lib/core/interfaces/Servicios.mjs +1 -1
- package/esm2020/lib/core/models/SOC/service.model.mjs +11 -2
- package/fesm2015/sigesp.mjs +10 -1
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +10 -1
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Servicios.d.ts +3 -0
- package/lib/core/models/SOC/service.model.d.ts +3 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -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
|
}
|