sigesp 1.1.42-20250124 → 1.1.43-20250318
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/CentroCosto.mjs +1 -1
- package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +3 -3
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +8 -9
- package/fesm2015/sigesp.mjs +9 -9
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +9 -9
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/CentroCosto.d.ts +1 -1
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -1
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -1941,7 +1941,7 @@ class MCentroCosto extends MBasicModel {
|
|
|
1941
1941
|
this.centro = centroCosto.codcencos;
|
|
1942
1942
|
this.denominacion = centroCosto.denominacion;
|
|
1943
1943
|
this.periodoFical = +centroCosto.perfiscal;
|
|
1944
|
-
this.idUnidadAdministradora = +centroCosto.
|
|
1944
|
+
this.idUnidadAdministradora = +centroCosto.id_uniadm;
|
|
1945
1945
|
this.idDetalle = +centroCosto.id_dt;
|
|
1946
1946
|
}
|
|
1947
1947
|
else {
|
|
@@ -1958,7 +1958,7 @@ class MCentroCosto extends MBasicModel {
|
|
|
1958
1958
|
codcencos: this.centro,
|
|
1959
1959
|
denominacion: this.denominacion,
|
|
1960
1960
|
id_dt: this.idDetalle.toString(),
|
|
1961
|
-
|
|
1961
|
+
id_uniadm: this.idUnidadAdministradora.toString(),
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
@@ -5057,17 +5057,17 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
5057
5057
|
fechaFinalNomina() {
|
|
5058
5058
|
let i = this.periodosNomina.length - 1;
|
|
5059
5059
|
let fechaFin = this.periodosNomina[i].fechaHastaperiodo;
|
|
5060
|
-
return
|
|
5060
|
+
return fechaFin;
|
|
5061
5061
|
}
|
|
5062
5062
|
/**
|
|
5063
5063
|
* @returns fecha de inicio a fin de la nomina
|
|
5064
5064
|
*/
|
|
5065
|
-
fechaNomina()
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
}
|
|
5065
|
+
// public fechaNomina():string{
|
|
5066
|
+
// let i= this.periodosNomina.length-1;
|
|
5067
|
+
// let fechaFin= this.periodosNomina[i].fechaHastaperiodo;
|
|
5068
|
+
// let fechaIni= this.periodosNomina[i].fechaDesdePeriodo;
|
|
5069
|
+
// return formatDate(fechaFin, 'dd-MM-yyyy', 'es-ES')+' al '+formatDate(fechaIni, 'dd-MM-yyyy', 'es-ES');
|
|
5070
|
+
// }
|
|
5071
5071
|
/**
|
|
5072
5072
|
*
|
|
5073
5073
|
* @returns Retorna es estatus del periodo actual de la nomina {
|