sigesp 0.9.38-20230223 → 0.9.40-20230321
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/bundles/sigesp.umd.js +18 -3
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/interfaces/Usuario.js +1 -1
- package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +9 -1
- package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +9 -2
- package/esm2015/lib/core/models/SPG/administrativeUnit.model.js +1 -1
- package/esm2015/lib/sigesp.service.js +1 -1
- package/esm2015/lib/validation.service.js +3 -3
- package/fesm2015/sigesp.js +18 -3
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +4 -0
- package/lib/core/interfaces/RecursosHumanos.d.ts +3 -0
- package/lib/core/interfaces/Usuario.d.ts +1 -1
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +3 -0
- package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +3 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +1 -0
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -8118,7 +8118,7 @@
|
|
|
8118
8118
|
CurrencyService.prototype.returnNumber = function (event, decimal, thousands, amountDecimals) {
|
|
8119
8119
|
if (decimal === void 0) { decimal = ','; }
|
|
8120
8120
|
if (thousands === void 0) { thousands = '.'; }
|
|
8121
|
-
if (amountDecimals === void 0) { amountDecimals =
|
|
8121
|
+
if (amountDecimals === void 0) { amountDecimals = 6; }
|
|
8122
8122
|
if (!decimal || decimal.trim() == '') {
|
|
8123
8123
|
decimal = ',';
|
|
8124
8124
|
}
|
|
@@ -8131,7 +8131,7 @@
|
|
|
8131
8131
|
if (number.trim() == '') {
|
|
8132
8132
|
number = '0';
|
|
8133
8133
|
}
|
|
8134
|
-
return +((+number)
|
|
8134
|
+
return +((+number));
|
|
8135
8135
|
};
|
|
8136
8136
|
CurrencyService.prototype.validateCurrency = function (e, number, decimal, decimalAmount) {
|
|
8137
8137
|
if (decimal === void 0) { decimal = ','; }
|
|
@@ -9548,6 +9548,9 @@
|
|
|
9548
9548
|
_this.orden = 0;
|
|
9549
9549
|
_this.evaluarEnPrenomina = 0;
|
|
9550
9550
|
_this.antiguedadComplementaria = 0;
|
|
9551
|
+
_this.idUnidadAdministrativa = 0;
|
|
9552
|
+
_this.codigoUnidadAdministrativa = '';
|
|
9553
|
+
_this.denominacionUnidadAdministraiva = '';
|
|
9551
9554
|
if (e) {
|
|
9552
9555
|
_this.idEnterprise = +e.id_enterprise;
|
|
9553
9556
|
_this.idEmpresa = +e.id_empresa;
|
|
@@ -9623,6 +9626,10 @@
|
|
|
9623
9626
|
else {
|
|
9624
9627
|
_this.isNew = true;
|
|
9625
9628
|
}
|
|
9629
|
+
_this.idUnidadAdministrativa = +e.id_uniadm;
|
|
9630
|
+
_this.codigoUnidadAdministrativa = e.coduniadm;
|
|
9631
|
+
_this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
9632
|
+
_this.estructuraProgramatica = e.estructura;
|
|
9626
9633
|
return _this;
|
|
9627
9634
|
}
|
|
9628
9635
|
MConceptosNomina.prototype.dataInterface = function () {
|
|
@@ -9690,6 +9697,7 @@
|
|
|
9690
9697
|
orden: this.orden.toString(),
|
|
9691
9698
|
evaprenom: this.evaluarEnPrenomina.toString(),
|
|
9692
9699
|
antigcomp: this.antiguedadComplementaria.toString(),
|
|
9700
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
9693
9701
|
};
|
|
9694
9702
|
};
|
|
9695
9703
|
MConceptosNomina.prototype.denominacionSigno = function (sig) {
|
|
@@ -10995,6 +11003,9 @@
|
|
|
10995
11003
|
_this.ubicacionRobinson = 0;
|
|
10996
11004
|
_this.ubicacionZona = 0;
|
|
10997
11005
|
_this.ubicacionNoAplica = 0;
|
|
11006
|
+
_this.idUnidadAdministrativa = 0;
|
|
11007
|
+
_this.codigoUnidadAdministrativa = '';
|
|
11008
|
+
_this.denominacionUnidadAdministraiva = '';
|
|
10998
11009
|
if (e) {
|
|
10999
11010
|
_this.idEnterprise = +e.id_enterprise;
|
|
11000
11011
|
_this.idEmpresa = +e.id_empresa;
|
|
@@ -11029,6 +11040,9 @@
|
|
|
11029
11040
|
_this.ubicacionRobinson = e.ubirobinson;
|
|
11030
11041
|
_this.ubicacionZona = e.ubizona;
|
|
11031
11042
|
_this.ubicacionNoAplica = e.ubinoaplica;
|
|
11043
|
+
_this.idUnidadAdministrativa = +e.id_uniadm;
|
|
11044
|
+
_this.codigoUnidadAdministrativa = e.coduniadm;
|
|
11045
|
+
_this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
11032
11046
|
}
|
|
11033
11047
|
return _this;
|
|
11034
11048
|
}
|
|
@@ -11066,7 +11080,8 @@
|
|
|
11066
11080
|
ubiplanta: this.ubicacionPlanta,
|
|
11067
11081
|
ubirobinson: this.ubicacionRobinson,
|
|
11068
11082
|
ubizona: this.ubicacionZona,
|
|
11069
|
-
ubinoaplica: this.ubicacionNoAplica
|
|
11083
|
+
ubinoaplica: this.ubicacionNoAplica,
|
|
11084
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
11070
11085
|
};
|
|
11071
11086
|
};
|
|
11072
11087
|
return MEstructuraOrganizativa;
|