sigesp 0.9.73-20231011 → 0.9.75-20231012
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 -1
- 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/Constantes.js +2 -2
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +9 -1
- package/esm2015/lib/sigesp.service.js +10 -1
- package/fesm2015/sigesp.js +18 -1
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +5 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +5 -0
- package/lib/sigesp.service.d.ts +7 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
var TipoJubilacion = [
|
|
841
841
|
{ value: '1', denominacion: 'Jubilación Reglamentaria' },
|
|
842
842
|
{ value: '2', denominacion: 'Jubilacion Especial' },
|
|
843
|
-
{ value: '3', denominacion: 'Pensión Invalidez' }
|
|
843
|
+
{ value: '3', denominacion: 'Pensión Invalidez' },
|
|
844
844
|
];
|
|
845
845
|
var camposConstaciaTrabajo = [
|
|
846
846
|
{ denominacion: "AÑO", valor: 'Anio' },
|
|
@@ -5038,6 +5038,11 @@
|
|
|
5038
5038
|
_this.idPersonal = 0;
|
|
5039
5039
|
_this.codigoEstructuraOrganizativa = '';
|
|
5040
5040
|
_this.denominacionEstructuraOrganizativa = '';
|
|
5041
|
+
_this.cogigoUnidadOrganizativa = '';
|
|
5042
|
+
_this.denominacionUnidadOrganizativa = '';
|
|
5043
|
+
_this.codigoEstructuraPresupuestaria = '';
|
|
5044
|
+
_this.codigoCentroCosto = '';
|
|
5045
|
+
_this.dnominacionCentroCosto = '';
|
|
5041
5046
|
_this.nivel = 0;
|
|
5042
5047
|
if (e) {
|
|
5043
5048
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
@@ -5049,6 +5054,9 @@
|
|
|
5049
5054
|
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
5050
5055
|
_this.idPersonal = parseInt(e.id_personal);
|
|
5051
5056
|
_this.nivel = parseInt(e.nivel);
|
|
5057
|
+
_this.codigoEstructuraPresupuestaria = e.codigo_estructura;
|
|
5058
|
+
_this.codigoCentroCosto = e.codcencos;
|
|
5059
|
+
_this.dnominacionCentroCosto = e.denominacion;
|
|
5052
5060
|
_this.idDtCargoEstructura = parseInt(e.id_dt);
|
|
5053
5061
|
}
|
|
5054
5062
|
else {
|
|
@@ -7956,6 +7964,15 @@
|
|
|
7956
7964
|
return res;
|
|
7957
7965
|
}));
|
|
7958
7966
|
};
|
|
7967
|
+
/**
|
|
7968
|
+
* @description Valida si la fecha esta dentro del periodo fiscal y el mes esta abierto o cerrado
|
|
7969
|
+
* @return Observable<IResponse>
|
|
7970
|
+
* @author Dimaly Crespo
|
|
7971
|
+
* @author 11-10-2023
|
|
7972
|
+
*/
|
|
7973
|
+
SigespService.prototype.getValidarPeriodo = function (fecha, periodoFiscal) {
|
|
7974
|
+
return this.http.get(this.URL + "/dao/scg/configuracion_contabilidad_dao.php?fecha=" + fecha + "&periodo=" + periodoFiscal, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) { return res; }));
|
|
7975
|
+
};
|
|
7959
7976
|
SigespService.prototype.userHasRights = function (column) {
|
|
7960
7977
|
return this.http.get(this.URL + "/dao/sss/derechos_usuario_dao.php?idComponent=" + this.currentComponent.id + "&column=" + column, { headers: this.getHttpHeaders() });
|
|
7961
7978
|
};
|