sigesp 0.9.43-23230413 → 0.9.45-23230426
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 +25 -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/Configuracion.js +1 -1
- package/esm2015/lib/core/interfaces/EstructuraPresupuestaria.js +1 -1
- package/esm2015/lib/core/models/CFG/Empresa.model.js +19 -1
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +2 -2
- package/esm2015/lib/sigesp.service.js +7 -1
- package/fesm2015/sigesp.js +25 -1
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Configuracion.d.ts +7 -0
- package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +1 -0
- package/lib/core/models/CFG/Empresa.model.d.ts +7 -0
- package/lib/sigesp.service.d.ts +6 -0
- package/package.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -2974,6 +2974,13 @@ class MEmpresa extends MBasicModel {
|
|
|
2974
2974
|
this.idEP3 = 0;
|
|
2975
2975
|
this.idEP4 = 0;
|
|
2976
2976
|
this.idEP5 = 0;
|
|
2977
|
+
this.codigoFuenteFinanciaminto = 0;
|
|
2978
|
+
this.idUnidadAdministrativa = 0;
|
|
2979
|
+
this.denominacionUnidadAdministrativa = '';
|
|
2980
|
+
this.codigoUnidadAdministrativa = '';
|
|
2981
|
+
this.codigoFuenteFinanciamintoMostrar = '';
|
|
2982
|
+
this.codigoCentroCosto = '';
|
|
2983
|
+
this.estructuraPresupuestaria = '';
|
|
2977
2984
|
if (emp) {
|
|
2978
2985
|
this.idEmpresa = parseInt(emp.id_empresa);
|
|
2979
2986
|
this.rif = emp.rifemp;
|
|
@@ -3014,6 +3021,13 @@ class MEmpresa extends MBasicModel {
|
|
|
3014
3021
|
this.idEP3 = +emp.id_ep3;
|
|
3015
3022
|
this.idEP4 = +emp.id_ep4;
|
|
3016
3023
|
this.idEP5 = +emp.id_ep5;
|
|
3024
|
+
this.codigoFuenteFinanciaminto = +emp.codfuefin;
|
|
3025
|
+
this.idUnidadAdministrativa = +emp.id_uniadm;
|
|
3026
|
+
this.denominacionUnidadAdministrativa = emp.denuniadm;
|
|
3027
|
+
this.codigoUnidadAdministrativa = emp.coduniadm;
|
|
3028
|
+
this.codigoFuenteFinanciamintoMostrar = emp.codigoftefin;
|
|
3029
|
+
this.codigoCentroCosto = emp.codcencos;
|
|
3030
|
+
this.estructuraPresupuestaria = emp.estpre;
|
|
3017
3031
|
}
|
|
3018
3032
|
}
|
|
3019
3033
|
dataInterface() {
|
|
@@ -3056,6 +3070,10 @@ class MEmpresa extends MBasicModel {
|
|
|
3056
3070
|
id_ep3: this.idEP3.toString(),
|
|
3057
3071
|
id_ep4: this.idEP4.toString(),
|
|
3058
3072
|
id_ep5: this.idEP5.toString(),
|
|
3073
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
3074
|
+
codcencos: this.codigoCentroCosto,
|
|
3075
|
+
codfuefin: this.codigoFuenteFinanciaminto.toString(),
|
|
3076
|
+
estpre: this.estructuraPresupuestaria,
|
|
3059
3077
|
};
|
|
3060
3078
|
}
|
|
3061
3079
|
}
|
|
@@ -6893,6 +6911,12 @@ class SigespService {
|
|
|
6893
6911
|
return res;
|
|
6894
6912
|
}));
|
|
6895
6913
|
}
|
|
6914
|
+
/**
|
|
6915
|
+
* @description obtiene las cuenta segun el id
|
|
6916
|
+
* @param tipo {'banco', 'default'}
|
|
6917
|
+
* @param id para la opcion banco usar id=idBanco, opcion defaulf id=idEnterprise
|
|
6918
|
+
* @returns
|
|
6919
|
+
*/
|
|
6896
6920
|
getAllBankAccount(tipo, id) {
|
|
6897
6921
|
return this.http.get(`${this.URL}/dao/scb/cuenta_banco_dao.php?tipo=${tipo}&e=${id}`, { headers: this.getHttpHeaders() })
|
|
6898
6922
|
.pipe(map((res) => {
|
|
@@ -8531,7 +8555,7 @@ class MCargosPersonal extends MBasicModel {
|
|
|
8531
8555
|
this.codigoTabulador = p.codtab;
|
|
8532
8556
|
this.denominacionTabulador = p.destab;
|
|
8533
8557
|
this.idPersonalCargo = parseInt(p.id_personalcargo);
|
|
8534
|
-
this.montoSalarioGrado = parseFloat(p.
|
|
8558
|
+
this.montoSalarioGrado = parseFloat(p.monsalgra);
|
|
8535
8559
|
this.montoCompensacionGrado = parseFloat(p.moncomgra);
|
|
8536
8560
|
this.estatusMPPPE = p.estmpppe == '1' ? true : false;
|
|
8537
8561
|
this.idClasificadorDocente = +p.id_clasificacion_docente;
|