sigesp 1.0.16-20240818 → 1.0.18-20240821
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/README.md +9 -12
- package/karma.conf.js +32 -0
- package/ng-package.json +7 -0
- package/package.json +11 -31
- package/src/lib/app/app.component.html +1 -0
- package/src/lib/app/app.component.scss +0 -0
- package/src/lib/app/app.component.ts +15 -0
- package/src/lib/app/app.module.ts +21 -0
- package/src/lib/core/interfaces/Auditoria.ts +72 -0
- package/src/lib/core/interfaces/Banco.ts +633 -0
- package/src/lib/core/interfaces/Catalogo.ts +15 -0
- package/src/lib/core/interfaces/CentroCosto.ts +20 -0
- package/src/lib/core/interfaces/Clasificacion.ts +6 -0
- package/src/lib/core/interfaces/Cliente.ts +36 -0
- package/src/lib/core/interfaces/ComprobantePresupuestario.ts +43 -0
- package/src/lib/core/interfaces/Comunidad.ts +12 -0
- package/src/lib/core/interfaces/Configuracion.ts +110 -0
- package/src/lib/core/interfaces/ConfiguracionRPC.ts +10 -0
- package/src/lib/core/interfaces/ConfiguracionSCG.ts +54 -0
- package/src/lib/core/interfaces/ConfigurationSPG.ts +43 -0
- package/src/lib/core/interfaces/Constantes.ts +463 -0
- package/src/lib/core/interfaces/CuentaEgresos.ts +159 -0
- package/src/lib/core/interfaces/CuentaIngreso.ts +37 -0
- package/src/lib/core/interfaces/CuentaIngresoEstructura.ts +25 -0
- package/src/lib/core/interfaces/CuentaInstitucional.ts +26 -0
- package/src/lib/core/interfaces/CuentaPresupuesto.ts +7 -0
- package/src/lib/core/interfaces/CuentasPorPagar.ts +40 -0
- package/src/lib/core/interfaces/Documento.ts +6 -0
- package/src/lib/core/interfaces/EntradaSuministro.ts +93 -0
- package/src/lib/core/interfaces/Especialidad.ts +4 -0
- package/src/lib/core/interfaces/EstructuraPresupuestaria.ts +96 -0
- package/src/lib/core/interfaces/FuenteFinanciamiento.ts +7 -0
- package/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +192 -0
- package/src/lib/core/interfaces/ITipoDepositos.ts +17 -0
- package/src/lib/core/interfaces/Integracion.ts +6 -0
- package/src/lib/core/interfaces/Lugares.ts +45 -0
- package/src/lib/core/interfaces/Moneda.ts +22 -0
- package/src/lib/core/interfaces/Nomina.ts +607 -0
- package/src/lib/core/interfaces/PlanUnicoCuenta.ts +4 -0
- package/src/lib/core/interfaces/Presupuesto.ts +132 -0
- package/src/lib/core/interfaces/Proveedor.ts +79 -0
- package/src/lib/core/interfaces/RecursosHumanos.ts +1728 -0
- package/{lib/core/interfaces/Request.d.ts → src/lib/core/interfaces/Request.ts} +4 -3
- package/src/lib/core/interfaces/Response.ts +7 -0
- package/src/lib/core/interfaces/Seguridad.ts +118 -0
- package/src/lib/core/interfaces/Servicios.ts +64 -0
- package/src/lib/core/interfaces/Sistema.ts +21 -0
- package/src/lib/core/interfaces/Tributos.ts +78 -0
- package/src/lib/core/interfaces/UnidadTributaria.ts +11 -0
- package/src/lib/core/interfaces/Usuario.ts +57 -0
- package/src/lib/core/interfaces/UsuarioPrefijo.ts +12 -0
- package/src/lib/core/models/CFG/Empresa.model.ts +155 -0
- package/src/lib/core/models/CFG/Enterprise.model.ts +74 -0
- package/src/lib/core/models/CFG/MPrefijo.model.ts +66 -0
- package/src/lib/core/models/CFG/Procede.model.ts +34 -0
- package/src/lib/core/models/CFG/TasaCambio.model.ts +37 -0
- package/src/lib/core/models/CFG/comunidad.model.ts +34 -0
- package/src/lib/core/models/CFG/locations.model.ts +189 -0
- package/src/lib/core/models/CFG/moneda.model.ts +82 -0
- package/src/lib/core/models/CFG/userPrefix.model.ts +48 -0
- package/src/lib/core/models/CXP/MConceptosCXP.model.ts +36 -0
- package/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +49 -0
- package/src/lib/core/models/RPC/clasification.model.ts +22 -0
- package/src/lib/core/models/RPC/configuracionRPC.model.ts +27 -0
- package/src/lib/core/models/RPC/document.model.ts +20 -0
- package/src/lib/core/models/RPC/proveedores.model.ts +15 -0
- package/src/lib/core/models/RPC/providerBeneficiary.model.ts +164 -0
- package/src/lib/core/models/RPC/specialty.model.ts +14 -0
- package/src/lib/core/models/SCB/bank.model.ts +205 -0
- package/src/lib/core/models/SCG/IncomeAccount.ts +87 -0
- package/src/lib/core/models/SCG/accountMarriage.model.ts +33 -0
- package/src/lib/core/models/SCG/centroCosto.model.ts +72 -0
- package/src/lib/core/models/SCG/configuracionSCG.model.ts +172 -0
- package/src/lib/core/models/SCG/cuentaInstitucional.model.ts +91 -0
- package/src/lib/core/models/SCG/planUnicoCuenta.model.ts +22 -0
- package/src/lib/core/models/SFV/MClienteModel.ts +119 -0
- package/src/lib/core/models/SIV/MDetaContable.model.ts +65 -0
- package/src/lib/core/models/SIV/MDetaEntrada.model.ts +98 -0
- package/src/lib/core/models/SIV/MEntradaSuministro.model.ts +135 -0
- package/src/lib/core/models/SIV/MTipoDepositos.model.ts +65 -0
- package/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +112 -0
- package/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +63 -0
- package/src/lib/core/models/SNO/MArchivosTxt.model.ts +53 -0
- package/src/lib/core/models/SNO/MAsignacionCargo.model.ts +218 -0
- package/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +97 -0
- package/src/lib/core/models/SNO/MAuditoria.model.ts +67 -0
- package/src/lib/core/models/SNO/MBeneficiario.model.ts +139 -0
- package/src/lib/core/models/SNO/MCargaFamiliar.model.ts +54 -0
- package/src/lib/core/models/SNO/MCargaMasiva.model.ts +37 -0
- package/src/lib/core/models/SNO/MCargosPersonal.model.ts +108 -0
- package/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +48 -0
- package/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +41 -0
- package/src/lib/core/models/SNO/MComponete.model.ts +40 -0
- package/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +94 -0
- package/src/lib/core/models/SNO/MConceptosNomina.model.ts +240 -0
- package/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +103 -0
- package/src/lib/core/models/SNO/MConcursante.model.ts +333 -0
- package/src/lib/core/models/SNO/MConcurso.model.ts +267 -0
- package/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +412 -0
- package/src/lib/core/models/SNO/MConstanteNomina.model.ts +76 -0
- package/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +85 -0
- package/src/lib/core/models/SNO/MDedicacion.model.ts +37 -0
- package/src/lib/core/models/SNO/MDefinicionNomina.model.ts +330 -0
- package/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +94 -0
- package/src/lib/core/models/SNO/MDeudaAnterior.model.ts +42 -0
- package/src/lib/core/models/SNO/MEncargaduria.model.ts +142 -0
- package/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +43 -0
- package/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +40 -0
- package/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +125 -0
- package/src/lib/core/models/SNO/MFamiliares.model.ts +91 -0
- package/src/lib/core/models/SNO/MFeriados.model.ts +46 -0
- package/src/lib/core/models/SNO/MFideicomiso.model.ts +423 -0
- package/src/lib/core/models/SNO/MFormacionAcademica.model.ts +52 -0
- package/src/lib/core/models/SNO/MGrado.model.ts +50 -0
- package/src/lib/core/models/SNO/MHojaTiempo.model.ts +128 -0
- package/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +77 -0
- package/src/lib/core/models/SNO/MMetodoBanco.model.ts +113 -0
- package/src/lib/core/models/SNO/MNominaSimple.model.ts +93 -0
- package/src/lib/core/models/SNO/MPeriodoNomina.model.ts +196 -0
- package/src/lib/core/models/SNO/MPermisos.model.ts +70 -0
- package/src/lib/core/models/SNO/MPersonal.model.ts +659 -0
- package/src/lib/core/models/SNO/MPersonalJubilado.model.ts +71 -0
- package/src/lib/core/models/SNO/MPersonalNomina.model.ts +328 -0
- package/src/lib/core/models/SNO/MPlanHorario.model.ts +134 -0
- package/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +33 -0
- package/src/lib/core/models/SNO/MPrestamo.model.ts +242 -0
- package/src/lib/core/models/SNO/MPrimaGrados.model.ts +46 -0
- package/src/lib/core/models/SNO/MPrimasConcepto.model.ts +45 -0
- package/src/lib/core/models/SNO/MRango.model.ts +45 -0
- package/src/lib/core/models/SNO/MReportesRRHH.ts +425 -0
- package/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +48 -0
- package/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +41 -0
- package/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +123 -0
- package/src/lib/core/models/SNO/MSalarioHistorico.model.ts +75 -0
- package/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +125 -0
- package/src/lib/core/models/SNO/MTablaVacaciones.model.ts +61 -0
- package/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +45 -0
- package/src/lib/core/models/SNO/MTabulador.model.ts +108 -0
- package/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +85 -0
- package/src/lib/core/models/SNO/MTipoPersonal.model.ts +37 -0
- package/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +40 -0
- package/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +70 -0
- package/src/lib/core/models/SNO/MUbicacionFisica.model.ts +63 -0
- package/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +119 -0
- package/src/lib/core/models/SOC/charge.model.ts +78 -0
- package/src/lib/core/models/SOC/clause.model.ts +36 -0
- package/src/lib/core/models/SOC/clauseModality.model.ts +40 -0
- package/src/lib/core/models/SOC/configuracionSOC.model.ts +68 -0
- package/src/lib/core/models/SOC/service.model.ts +50 -0
- package/src/lib/core/models/SOC/serviceCharge.model.ts +39 -0
- package/src/lib/core/models/SOC/serviceType.model.ts +36 -0
- package/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +47 -0
- package/src/lib/core/models/SPG/administrativeUnit.model.ts +153 -0
- package/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +93 -0
- package/src/lib/core/models/SPG/configurationSPG.model.ts +88 -0
- package/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +131 -0
- package/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +280 -0
- package/src/lib/core/models/SPG/expensiveAccount.model.ts +114 -0
- package/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +33 -0
- package/src/lib/core/models/SPG/incomeStructureAccount.model.ts +84 -0
- package/src/lib/core/models/SPG/organizationType.model.ts +16 -0
- package/src/lib/core/models/SSS/component.model.ts +51 -0
- package/src/lib/core/models/SSS/group.model.ts +39 -0
- package/src/lib/core/models/SSS/log.model.ts +36 -0
- package/src/lib/core/models/SSS/securityConfiguration.model.ts +26 -0
- package/src/lib/core/models/SSS/sistema.ts +85 -0
- package/src/lib/core/models/SSS/user.model.ts +52 -0
- package/src/lib/core/models/SSS/userDetail.model.ts +78 -0
- package/src/lib/core/models/SSS/userPermit.model.ts +61 -0
- package/src/lib/core/models/SSS/userRights.model.ts +113 -0
- package/src/lib/core/models/STB/MCargosAdicionales.ts +93 -0
- package/src/lib/core/models/STB/deduction.model.ts +100 -0
- package/src/lib/core/models/STB/deductionType.model.ts +23 -0
- package/src/lib/core/models/STB/unidadTributaria.model.ts +25 -0
- package/src/lib/core/models/basic-model.model.ts +9 -0
- package/src/lib/shared/components/catalogo/catalogo.component.html +45 -0
- package/src/lib/shared/components/catalogo/catalogo.component.scss +82 -0
- package/src/lib/shared/components/catalogo/catalogo.component.ts +71 -0
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +57 -0
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +82 -0
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +80 -0
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +121 -0
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +81 -0
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +68 -0
- package/src/lib/shared/components/confirm/confirm.component.html +15 -0
- package/src/lib/shared/components/confirm/confirm.component.scss +37 -0
- package/src/lib/shared/components/confirm/confirm.component.ts +32 -0
- package/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
- package/src/lib/shared/components/icon/icon.component.html +6 -0
- package/src/lib/shared/components/icon/icon.component.scss +22 -0
- package/src/lib/shared/components/icon/icon.component.ts +19 -0
- package/src/lib/shared/components/table-select/table-select.component.html +73 -0
- package/src/lib/shared/components/table-select/table-select.component.scss +86 -0
- package/src/lib/shared/components/table-select/table-select.component.ts +102 -0
- package/src/lib/shared/material/customPaginator.ts +22 -0
- package/src/lib/shared/material/material.module.ts +144 -0
- package/src/lib/shared/pipes/iso-currency.pipe.ts +44 -0
- package/src/lib/shared/shared.module.ts +41 -0
- package/src/lib/sigesp.service.ts +2770 -0
- package/src/lib/validation.service.ts +172 -0
- package/src/public-api.ts +489 -0
- package/src/test.ts +23 -0
- package/tsconfig.lib.json +27 -0
- package/tsconfig.lib.prod.json +6 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/LICENSE +0 -21
- package/esm2020/lib/app/app.component.mjs +0 -14
- package/esm2020/lib/app/app.module.mjs +0 -34
- package/esm2020/lib/core/interfaces/Auditoria.mjs +0 -49
- package/esm2020/lib/core/interfaces/Banco.mjs +0 -2
- package/esm2020/lib/core/interfaces/Catalogo.mjs +0 -2
- package/esm2020/lib/core/interfaces/CentroCosto.mjs +0 -2
- package/esm2020/lib/core/interfaces/Clasificacion.mjs +0 -2
- package/esm2020/lib/core/interfaces/Cliente.mjs +0 -2
- package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +0 -2
- package/esm2020/lib/core/interfaces/Comunidad.mjs +0 -2
- package/esm2020/lib/core/interfaces/Configuracion.mjs +0 -2
- package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +0 -2
- package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +0 -2
- package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +0 -2
- package/esm2020/lib/core/interfaces/Constantes.mjs +0 -365
- package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +0 -2
- package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +0 -2
- package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +0 -2
- package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +0 -2
- package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +0 -2
- package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +0 -2
- package/esm2020/lib/core/interfaces/Documento.mjs +0 -2
- package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +0 -2
- package/esm2020/lib/core/interfaces/Especialidad.mjs +0 -2
- package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +0 -2
- package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +0 -2
- package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +0 -2
- package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +0 -2
- package/esm2020/lib/core/interfaces/Integracion.mjs +0 -2
- package/esm2020/lib/core/interfaces/Lugares.mjs +0 -2
- package/esm2020/lib/core/interfaces/Moneda.mjs +0 -2
- package/esm2020/lib/core/interfaces/Nomina.mjs +0 -27
- package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +0 -2
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +0 -2
- package/esm2020/lib/core/interfaces/Proveedor.mjs +0 -2
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +0 -4
- package/esm2020/lib/core/interfaces/Request.mjs +0 -2
- package/esm2020/lib/core/interfaces/Response.mjs +0 -2
- package/esm2020/lib/core/interfaces/Seguridad.mjs +0 -2
- package/esm2020/lib/core/interfaces/Servicios.mjs +0 -2
- package/esm2020/lib/core/interfaces/Sistema.mjs +0 -2
- package/esm2020/lib/core/interfaces/Tributos.mjs +0 -2
- package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +0 -2
- package/esm2020/lib/core/interfaces/Usuario.mjs +0 -2
- package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +0 -2
- package/esm2020/lib/core/models/CFG/Empresa.model.mjs +0 -151
- package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +0 -70
- package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +0 -64
- package/esm2020/lib/core/models/CFG/Procede.model.mjs +0 -31
- package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +0 -34
- package/esm2020/lib/core/models/CFG/comunidad.model.mjs +0 -22
- package/esm2020/lib/core/models/CFG/locations.model.mjs +0 -170
- package/esm2020/lib/core/models/CFG/moneda.model.mjs +0 -72
- package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +0 -46
- package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +0 -34
- package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +0 -44
- package/esm2020/lib/core/models/RPC/clasification.model.mjs +0 -16
- package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +0 -23
- package/esm2020/lib/core/models/RPC/document.model.mjs +0 -16
- package/esm2020/lib/core/models/RPC/proveedores.model.mjs +0 -9
- package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +0 -164
- package/esm2020/lib/core/models/RPC/specialty.model.mjs +0 -12
- package/esm2020/lib/core/models/SCB/bank.model.mjs +0 -181
- package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +0 -83
- package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +0 -29
- package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +0 -65
- package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +0 -169
- package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +0 -89
- package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +0 -17
- package/esm2020/lib/core/models/SFV/MClienteModel.mjs +0 -116
- package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +0 -62
- package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +0 -94
- package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +0 -132
- package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +0 -61
- package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +0 -100
- package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +0 -61
- package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +0 -41
- package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +0 -205
- package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +0 -90
- package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +0 -61
- package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +0 -137
- package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +0 -52
- package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +0 -34
- package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +0 -101
- package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +0 -46
- package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +0 -39
- package/esm2020/lib/core/models/SNO/MComponete.model.mjs +0 -38
- package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +0 -85
- package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +0 -231
- package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +0 -97
- package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +0 -317
- package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +0 -246
- package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +0 -410
- package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +0 -70
- package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +0 -79
- package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +0 -35
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +0 -309
- package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +0 -84
- package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +0 -40
- package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +0 -138
- package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +0 -38
- package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +0 -37
- package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +0 -119
- package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +0 -86
- package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +0 -43
- package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +0 -406
- package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +0 -49
- package/esm2020/lib/core/models/SNO/MGrado.model.mjs +0 -47
- package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +0 -117
- package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +0 -73
- package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +0 -105
- package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +0 -86
- package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +0 -184
- package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +0 -68
- package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +0 -638
- package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +0 -64
- package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +0 -313
- package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +0 -117
- package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +0 -31
- package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +0 -221
- package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +0 -43
- package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +0 -43
- package/esm2020/lib/core/models/SNO/MRango.model.mjs +0 -43
- package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +0 -402
- package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +0 -46
- package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +0 -37
- package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +0 -113
- package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +0 -70
- package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +0 -121
- package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +0 -57
- package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +0 -40
- package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +0 -96
- package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +0 -75
- package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +0 -34
- package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +0 -37
- package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +0 -65
- package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +0 -61
- package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +0 -115
- package/esm2020/lib/core/models/SOC/charge.model.mjs +0 -66
- package/esm2020/lib/core/models/SOC/clause.model.mjs +0 -31
- package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +0 -35
- package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +0 -62
- package/esm2020/lib/core/models/SOC/service.model.mjs +0 -46
- package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +0 -37
- package/esm2020/lib/core/models/SOC/serviceType.model.mjs +0 -31
- package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +0 -43
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +0 -112
- package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +0 -51
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +0 -59
- package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +0 -120
- package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +0 -176
- package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +0 -108
- package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +0 -31
- package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +0 -81
- package/esm2020/lib/core/models/SPG/organizationType.model.mjs +0 -12
- package/esm2020/lib/core/models/SSS/component.model.mjs +0 -44
- package/esm2020/lib/core/models/SSS/group.model.mjs +0 -30
- package/esm2020/lib/core/models/SSS/log.model.mjs +0 -29
- package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +0 -20
- package/esm2020/lib/core/models/SSS/sistema.mjs +0 -71
- package/esm2020/lib/core/models/SSS/user.model.mjs +0 -32
- package/esm2020/lib/core/models/SSS/userDetail.model.mjs +0 -73
- package/esm2020/lib/core/models/SSS/userPermit.model.mjs +0 -47
- package/esm2020/lib/core/models/SSS/userRights.model.mjs +0 -104
- package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +0 -84
- package/esm2020/lib/core/models/STB/deduction.model.mjs +0 -90
- package/esm2020/lib/core/models/STB/deductionType.model.mjs +0 -20
- package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +0 -14
- package/esm2020/lib/core/models/basic-model.model.mjs +0 -8
- package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +0 -76
- package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +0 -87
- package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +0 -74
- package/esm2020/lib/shared/components/confirm/confirm.component.mjs +0 -35
- package/esm2020/lib/shared/components/icon/icon.component.mjs +0 -22
- package/esm2020/lib/shared/components/table-select/table-select.component.mjs +0 -99
- package/esm2020/lib/shared/material/customPaginator.mjs +0 -24
- package/esm2020/lib/shared/material/material.module.mjs +0 -322
- package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +0 -43
- package/esm2020/lib/shared/shared.module.mjs +0 -66
- package/esm2020/lib/sigesp.service.mjs +0 -2064
- package/esm2020/lib/validation.service.mjs +0 -131
- package/esm2020/public-api.mjs +0 -156
- package/esm2020/sigesp.mjs +0 -5
- package/fesm2015/sigesp.mjs +0 -14622
- package/fesm2015/sigesp.mjs.map +0 -1
- package/fesm2020/sigesp.mjs +0 -14581
- package/fesm2020/sigesp.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/app/app.component.d.ts +0 -8
- package/lib/app/app.module.d.ts +0 -10
- package/lib/core/interfaces/Auditoria.d.ts +0 -19
- package/lib/core/interfaces/Banco.d.ts +0 -593
- package/lib/core/interfaces/Catalogo.d.ts +0 -13
- package/lib/core/interfaces/CentroCosto.d.ts +0 -18
- package/lib/core/interfaces/Clasificacion.d.ts +0 -6
- package/lib/core/interfaces/Cliente.d.ts +0 -36
- package/lib/core/interfaces/ComprobantePresupuestario.d.ts +0 -42
- package/lib/core/interfaces/Comunidad.d.ts +0 -12
- package/lib/core/interfaces/Configuracion.d.ts +0 -101
- package/lib/core/interfaces/ConfiguracionRPC.d.ts +0 -10
- package/lib/core/interfaces/ConfiguracionSCG.d.ts +0 -54
- package/lib/core/interfaces/ConfigurationSPG.d.ts +0 -42
- package/lib/core/interfaces/Constantes.d.ts +0 -82
- package/lib/core/interfaces/CuentaEgresos.d.ts +0 -153
- package/lib/core/interfaces/CuentaIngreso.d.ts +0 -37
- package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +0 -24
- package/lib/core/interfaces/CuentaInstitucional.d.ts +0 -26
- package/lib/core/interfaces/CuentaPresupuesto.d.ts +0 -6
- package/lib/core/interfaces/CuentasPorPagar.d.ts +0 -37
- package/lib/core/interfaces/Documento.d.ts +0 -6
- package/lib/core/interfaces/EntradaSuministro.d.ts +0 -87
- package/lib/core/interfaces/Especialidad.d.ts +0 -4
- package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +0 -89
- package/lib/core/interfaces/FuenteFinanciamiento.d.ts +0 -7
- package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +0 -186
- package/lib/core/interfaces/ITipoDepositos.d.ts +0 -17
- package/lib/core/interfaces/Integracion.d.ts +0 -6
- package/lib/core/interfaces/Lugares.d.ts +0 -40
- package/lib/core/interfaces/Moneda.d.ts +0 -20
- package/lib/core/interfaces/Nomina.d.ts +0 -548
- package/lib/core/interfaces/PlanUnicoCuenta.d.ts +0 -4
- package/lib/core/interfaces/Presupuesto.d.ts +0 -122
- package/lib/core/interfaces/Proveedor.d.ts +0 -75
- package/lib/core/interfaces/RecursosHumanos.d.ts +0 -1616
- package/lib/core/interfaces/Response.d.ts +0 -7
- package/lib/core/interfaces/Seguridad.d.ts +0 -110
- package/lib/core/interfaces/Servicios.d.ts +0 -58
- package/lib/core/interfaces/Sistema.d.ts +0 -19
- package/lib/core/interfaces/Tributos.d.ts +0 -73
- package/lib/core/interfaces/UnidadTributaria.d.ts +0 -11
- package/lib/core/interfaces/Usuario.d.ts +0 -52
- package/lib/core/interfaces/UsuarioPrefijo.d.ts +0 -12
- package/lib/core/models/CFG/Empresa.model.d.ts +0 -52
- package/lib/core/models/CFG/Enterprise.model.d.ts +0 -24
- package/lib/core/models/CFG/MPrefijo.model.d.ts +0 -22
- package/lib/core/models/CFG/Procede.model.d.ts +0 -11
- package/lib/core/models/CFG/TasaCambio.model.d.ts +0 -12
- package/lib/core/models/CFG/comunidad.model.d.ts +0 -15
- package/lib/core/models/CFG/locations.model.d.ts +0 -54
- package/lib/core/models/CFG/moneda.model.d.ts +0 -26
- package/lib/core/models/CFG/userPrefix.model.d.ts +0 -16
- package/lib/core/models/CXP/MConceptosCXP.model.d.ts +0 -12
- package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +0 -16
- package/lib/core/models/RPC/clasification.model.d.ts +0 -11
- package/lib/core/models/RPC/configuracionRPC.model.d.ts +0 -12
- package/lib/core/models/RPC/document.model.d.ts +0 -11
- package/lib/core/models/RPC/proveedores.model.d.ts +0 -8
- package/lib/core/models/RPC/providerBeneficiary.model.d.ts +0 -75
- package/lib/core/models/RPC/specialty.model.d.ts +0 -9
- package/lib/core/models/SCB/bank.model.d.ts +0 -63
- package/lib/core/models/SCG/IncomeAccount.d.ts +0 -43
- package/lib/core/models/SCG/accountMarriage.model.d.ts +0 -11
- package/lib/core/models/SCG/centroCosto.model.d.ts +0 -23
- package/lib/core/models/SCG/configuracionSCG.model.d.ts +0 -58
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +0 -32
- package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +0 -8
- package/lib/core/models/SFV/MClienteModel.d.ts +0 -40
- package/lib/core/models/SIV/MDetaContable.model.d.ts +0 -21
- package/lib/core/models/SIV/MDetaEntrada.model.d.ts +0 -33
- package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +0 -47
- package/lib/core/models/SIV/MTipoDepositos.model.d.ts +0 -21
- package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +0 -32
- package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +0 -21
- package/lib/core/models/SNO/MArchivosTxt.model.d.ts +0 -15
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +0 -79
- package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +0 -30
- package/lib/core/models/SNO/MAuditoria.model.d.ts +0 -21
- package/lib/core/models/SNO/MBeneficiario.model.d.ts +0 -48
- package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +0 -18
- package/lib/core/models/SNO/MCargaMasiva.model.d.ts +0 -12
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +0 -40
- package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +0 -16
- package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +0 -14
- package/lib/core/models/SNO/MComponete.model.d.ts +0 -14
- package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +0 -30
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +0 -77
- package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +0 -34
- package/lib/core/models/SNO/MConcursante.model.d.ts +0 -104
- package/lib/core/models/SNO/MConcurso.model.d.ts +0 -83
- package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +0 -138
- package/lib/core/models/SNO/MConstanteNomina.model.d.ts +0 -24
- package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +0 -27
- package/lib/core/models/SNO/MDedicacion.model.d.ts +0 -13
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +0 -119
- package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +0 -26
- package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +0 -14
- package/lib/core/models/SNO/MEncargaduria.model.d.ts +0 -47
- package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +0 -15
- package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +0 -14
- package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +0 -42
- package/lib/core/models/SNO/MFamiliares.model.d.ts +0 -31
- package/lib/core/models/SNO/MFeriados.model.d.ts +0 -16
- package/lib/core/models/SNO/MFideicomiso.model.d.ts +0 -143
- package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +0 -18
- package/lib/core/models/SNO/MGrado.model.d.ts +0 -18
- package/lib/core/models/SNO/MHojaTiempo.model.d.ts +0 -40
- package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +0 -25
- package/lib/core/models/SNO/MMetodoBanco.model.d.ts +0 -35
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +0 -36
- package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +0 -58
- package/lib/core/models/SNO/MPermisos.model.d.ts +0 -24
- package/lib/core/models/SNO/MPersonal.model.d.ts +0 -219
- package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +0 -23
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +0 -100
- package/lib/core/models/SNO/MPlanHorario.model.d.ts +0 -41
- package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +0 -11
- package/lib/core/models/SNO/MPrestamo.model.d.ts +0 -69
- package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -15
- package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +0 -15
- package/lib/core/models/SNO/MRango.model.d.ts +0 -15
- package/lib/core/models/SNO/MReportesRRHH.d.ts +0 -130
- package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +0 -16
- package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +0 -14
- package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +0 -39
- package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +0 -25
- package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +0 -42
- package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +0 -15
- package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +0 -15
- package/lib/core/models/SNO/MTabulador.model.d.ts +0 -39
- package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +0 -28
- package/lib/core/models/SNO/MTipoPersonal.model.d.ts +0 -13
- package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +0 -14
- package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +0 -24
- package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +0 -21
- package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +0 -40
- package/lib/core/models/SOC/charge.model.d.ts +0 -24
- package/lib/core/models/SOC/clause.model.d.ts +0 -11
- package/lib/core/models/SOC/clauseModality.model.d.ts +0 -13
- package/lib/core/models/SOC/configuracionSOC.model.d.ts +0 -20
- package/lib/core/models/SOC/service.model.d.ts +0 -16
- package/lib/core/models/SOC/serviceCharge.model.d.ts +0 -13
- package/lib/core/models/SOC/serviceType.model.d.ts +0 -11
- package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +0 -15
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +0 -58
- package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +0 -46
- package/lib/core/models/SPG/configurationSPG.model.d.ts +0 -37
- package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +0 -57
- package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +0 -123
- package/lib/core/models/SPG/expensiveAccount.model.d.ts +0 -49
- package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +0 -11
- package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +0 -38
- package/lib/core/models/SPG/organizationType.model.d.ts +0 -9
- package/lib/core/models/SSS/component.model.d.ts +0 -16
- package/lib/core/models/SSS/group.model.d.ts +0 -16
- package/lib/core/models/SSS/log.model.d.ts +0 -15
- package/lib/core/models/SSS/securityConfiguration.model.d.ts +0 -9
- package/lib/core/models/SSS/sistema.d.ts +0 -25
- package/lib/core/models/SSS/user.model.d.ts +0 -22
- package/lib/core/models/SSS/userDetail.model.d.ts +0 -26
- package/lib/core/models/SSS/userPermit.model.d.ts +0 -18
- package/lib/core/models/SSS/userRights.model.d.ts +0 -35
- package/lib/core/models/STB/MCargosAdicionales.d.ts +0 -31
- package/lib/core/models/STB/deduction.model.d.ts +0 -30
- package/lib/core/models/STB/deductionType.model.d.ts +0 -9
- package/lib/core/models/STB/unidadTributaria.model.d.ts +0 -13
- package/lib/core/models/basic-model.model.d.ts +0 -6
- package/lib/shared/components/catalogo/catalogo.component.d.ts +0 -35
- package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +0 -39
- package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +0 -38
- package/lib/shared/components/confirm/confirm.component.d.ts +0 -21
- package/lib/shared/components/icon/icon.component.d.ts +0 -11
- package/lib/shared/components/table-select/table-select.component.d.ts +0 -39
- package/lib/shared/material/customPaginator.d.ts +0 -9
- package/lib/shared/material/material.module.d.ts +0 -48
- package/lib/shared/pipes/iso-currency.pipe.d.ts +0 -13
- package/lib/shared/shared.module.d.ts +0 -16
- package/lib/sigesp.service.d.ts +0 -1060
- package/lib/validation.service.d.ts +0 -15
- package/public-api.d.ts +0 -164
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { MBasicModel } from '../basic-model.model';
|
|
2
|
+
import { ICuentasSpSc, IEstructuras, IUnitAdministrative } from '../../interfaces/Presupuesto';
|
|
3
|
+
import { MFuenteFinanciamiento } from './fuenteFinanciamiento.model';
|
|
4
|
+
|
|
5
|
+
export class MAdministrativeUnit extends MBasicModel {
|
|
6
|
+
public idEmpresa: number = 0;
|
|
7
|
+
public idEnterprise: number=0;
|
|
8
|
+
public codigo: string = '';
|
|
9
|
+
public denominacion: string = '';
|
|
10
|
+
public unidadCentral: number = 0;
|
|
11
|
+
public emiteRequisicion: boolean = true;
|
|
12
|
+
public centroCosto: string = '';
|
|
13
|
+
public id: number = 0;
|
|
14
|
+
public denominacionUnidadCentral:string='';
|
|
15
|
+
public codigoUnidadCentral:string='';
|
|
16
|
+
public denominacionCentroCosto:string='';
|
|
17
|
+
public estructuras:MEstructuras[]=[];
|
|
18
|
+
|
|
19
|
+
constructor(unidad?: IUnitAdministrative){
|
|
20
|
+
super();
|
|
21
|
+
if(unidad){
|
|
22
|
+
this.idEmpresa = +unidad.id_empresa;
|
|
23
|
+
this.idEnterprise = +unidad.id_enterprise;
|
|
24
|
+
this.id = +unidad.id_uniadm;
|
|
25
|
+
this.codigo = unidad.coduniadm;
|
|
26
|
+
this.denominacion = unidad.denuniadm;
|
|
27
|
+
this.unidadCentral = +unidad.coduac;
|
|
28
|
+
this.emiteRequisicion = unidad.estemireq=='1'? true:false;
|
|
29
|
+
this.centroCosto = unidad.codcencos;
|
|
30
|
+
this.denominacionUnidadCentral= unidad.denuac;
|
|
31
|
+
this.codigoUnidadCentral=unidad.codigouac;
|
|
32
|
+
this.denominacionCentroCosto=unidad.denenominacion;
|
|
33
|
+
if(unidad.estructuras){
|
|
34
|
+
this.estructuras=unidad.estructuras.map(e=> new MEstructuras(e));
|
|
35
|
+
}
|
|
36
|
+
} else{
|
|
37
|
+
this.isNew=true;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public dataInterface():IUnitAdministrative{
|
|
43
|
+
return{
|
|
44
|
+
id_empresa: this.idEmpresa.toString(),
|
|
45
|
+
id_enterprise:this.idEnterprise.toString(),
|
|
46
|
+
coduniadm: this.codigo,
|
|
47
|
+
coduac: this.unidadCentral.toString(),
|
|
48
|
+
denuniadm: this.denominacion,
|
|
49
|
+
estemireq: this.emiteRequisicion? '1':'0',
|
|
50
|
+
codcencos: this.centroCosto,
|
|
51
|
+
id_uniadm: this.id.toString(),
|
|
52
|
+
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class MEstructuras extends MBasicModel {
|
|
58
|
+
public cuentaContable: string;
|
|
59
|
+
public cuentaPresupuestaria: string;
|
|
60
|
+
public denominacion: string;
|
|
61
|
+
public estructura: string;
|
|
62
|
+
public idEp1: number;
|
|
63
|
+
public idEp2: number;
|
|
64
|
+
public idEp3: number;
|
|
65
|
+
public idEp4: number;
|
|
66
|
+
public idEp5: number;
|
|
67
|
+
public monto: number;
|
|
68
|
+
public estatus: string;
|
|
69
|
+
public codigoEep1: string;
|
|
70
|
+
public codigoEep2: string;
|
|
71
|
+
public codigoEep3: string;
|
|
72
|
+
public codigoEep4: string;
|
|
73
|
+
public codigoEep5: string;
|
|
74
|
+
public denominacionEstructura: string;
|
|
75
|
+
public denominacion5: string;
|
|
76
|
+
public denominacion3: string;
|
|
77
|
+
public idDtUni: number;
|
|
78
|
+
public idUnidadAdministrativa: number;
|
|
79
|
+
public fuentes: MFuenteFinanciamiento[]=[];
|
|
80
|
+
constructor(dt?:IEstructuras){
|
|
81
|
+
super();
|
|
82
|
+
if(dt){
|
|
83
|
+
this.cuentaContable= dt.cuentacontable;
|
|
84
|
+
this.cuentaPresupuestaria= dt.cuentapresupuestaria;
|
|
85
|
+
this.denominacion= dt.denominacion;
|
|
86
|
+
this.estructura= dt.estructura;
|
|
87
|
+
this.idEp1= parseInt(dt.id_ep1);
|
|
88
|
+
this.idEp2= parseInt(dt.id_ep2);
|
|
89
|
+
this.idEp3= parseInt(dt.id_ep3);
|
|
90
|
+
this.idEp4= parseInt(dt.id_ep4);
|
|
91
|
+
this.idEp5= parseInt(dt.id_ep5);
|
|
92
|
+
this.monto= parseFloat(dt.monto);
|
|
93
|
+
this.estatus= dt.status;
|
|
94
|
+
this.codigoEep1= dt.codeep1;
|
|
95
|
+
this.codigoEep2= dt.codeep2;
|
|
96
|
+
this.codigoEep3= dt.codeep3;
|
|
97
|
+
this.codigoEep4= dt.codeep4;
|
|
98
|
+
this.codigoEep5= dt.codeep5;
|
|
99
|
+
this.denominacionEstructura= dt.denestructura;
|
|
100
|
+
this.denominacion5= dt.status;
|
|
101
|
+
this.denominacion3= dt.status;
|
|
102
|
+
this.idDtUni= parseInt(dt.id_dt_uniadm);
|
|
103
|
+
this.idUnidadAdministrativa= parseInt(dt.id_uniadm);
|
|
104
|
+
if(dt.fuentes){
|
|
105
|
+
this.fuentes=dt.fuentes.map(e=> new MFuenteFinanciamiento(e));
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public dataInterface():IEstructuras{
|
|
111
|
+
return{
|
|
112
|
+
id_ep1: this.idEp1.toString(),
|
|
113
|
+
id_ep2: this.idEp2.toString(),
|
|
114
|
+
id_ep3: this.idEp3.toString(),
|
|
115
|
+
id_ep4: this.idEp4.toString(),
|
|
116
|
+
id_ep5: this.idEp5.toString(),
|
|
117
|
+
id_dt_uniadm: this.idDtUni.toString(),
|
|
118
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
export class MCuentasSpSC extends MBasicModel {
|
|
127
|
+
public codioCentroCosto: string;
|
|
128
|
+
public codigoFFMostrar: string;
|
|
129
|
+
public codigoUnidadAdministradora: string;
|
|
130
|
+
public denominacionCuenta: string;
|
|
131
|
+
public estructura: string;
|
|
132
|
+
public cuentaContable: string;
|
|
133
|
+
public cuentaPresupuestaria: string;
|
|
134
|
+
public estatusClasificacion: string;
|
|
135
|
+
public denominacionEstatusClasificacion:string;
|
|
136
|
+
public tipo:string;
|
|
137
|
+
|
|
138
|
+
constructor(dt: ICuentasSpSc){
|
|
139
|
+
super();
|
|
140
|
+
if(dt){
|
|
141
|
+
this.codioCentroCosto= dt.codcencos;
|
|
142
|
+
this.codigoFFMostrar= dt.codigoftefin;
|
|
143
|
+
this.codigoUnidadAdministradora= dt.coduniadm;
|
|
144
|
+
this.denominacionCuenta= dt.denominacion;
|
|
145
|
+
this.estructura= dt.estructura;
|
|
146
|
+
this.cuentaContable= dt.cuentacontable;
|
|
147
|
+
this.cuentaPresupuestaria= dt.cuentapresupuestaria;
|
|
148
|
+
this.estatusClasificacion= dt.estcla;
|
|
149
|
+
this.denominacionEstatusClasificacion= dt.denestcla;
|
|
150
|
+
this.tipo =dt.tipo;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { IComprobantePresupuestarioEgresos, IComprobantePresupuestarioIngresos } from '../../interfaces/ComprobantePresupuestario';
|
|
2
|
+
|
|
3
|
+
export class MComprobantePresupuestarioEgresos {
|
|
4
|
+
public idEmpresa: number;
|
|
5
|
+
public idEnterprise:number=0;
|
|
6
|
+
public idComprobante: number;
|
|
7
|
+
public idEp1: number;
|
|
8
|
+
public idEp2: number;
|
|
9
|
+
public idEp3: number;
|
|
10
|
+
public idEp4: number;
|
|
11
|
+
public idEp5: number;
|
|
12
|
+
public SPGCuenta: number;
|
|
13
|
+
public operacion: string;
|
|
14
|
+
public codigoFuenteFinanciamiento: number;
|
|
15
|
+
public procede_DOC: string;
|
|
16
|
+
public documento: string;
|
|
17
|
+
public codigoCentroCosto: string;
|
|
18
|
+
public fechaComprobante: string;
|
|
19
|
+
public decripcionComprobante: string;
|
|
20
|
+
public montoComprobante: number;
|
|
21
|
+
public orden: string;
|
|
22
|
+
public numeroCompromiso: string;
|
|
23
|
+
public idDetalle: number;
|
|
24
|
+
|
|
25
|
+
constructor(comprobante: IComprobantePresupuestarioEgresos) {
|
|
26
|
+
this.idEmpresa = parseInt(comprobante.id_empresa);
|
|
27
|
+
this.idEnterprise=+comprobante.id_enterprise;
|
|
28
|
+
this.idComprobante = parseInt(comprobante.id_comprobante);
|
|
29
|
+
this.idEp1 = parseInt(comprobante.id_ep1);
|
|
30
|
+
this.idEp2 = parseInt(comprobante.id_ep2);
|
|
31
|
+
this.idEp3 = parseInt(comprobante.id_ep3);
|
|
32
|
+
this.idEp4 = parseInt(comprobante.id_ep4);
|
|
33
|
+
this.idEp5 = parseInt(comprobante.id_ep5);
|
|
34
|
+
this.SPGCuenta = parseInt(comprobante.spg_cuenta);
|
|
35
|
+
this.operacion = comprobante.operacion;
|
|
36
|
+
this.codigoFuenteFinanciamiento = parseInt(comprobante.codfuefin);
|
|
37
|
+
this.procede_DOC = comprobante.procede_doc;
|
|
38
|
+
this.documento = comprobante.documento;
|
|
39
|
+
this.codigoCentroCosto = comprobante.codcencos;
|
|
40
|
+
this.fechaComprobante = comprobante.feccmp;
|
|
41
|
+
this.decripcionComprobante = comprobante.descmp;
|
|
42
|
+
this.montoComprobante = parseFloat(comprobante.moncmp);
|
|
43
|
+
this.orden = comprobante.orden;
|
|
44
|
+
this.numeroCompromiso = comprobante.numconcom;
|
|
45
|
+
this.idDetalle = parseInt(comprobante.id_dt_spgcmp);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export class MComprobantePresupuestarioIngresos {
|
|
50
|
+
public idEmpresa: number;
|
|
51
|
+
public idEnterprise:number=0;
|
|
52
|
+
public idComprobante: number;
|
|
53
|
+
public idEp1: number;
|
|
54
|
+
public idEp2: number;
|
|
55
|
+
public idEp3: number;
|
|
56
|
+
public idEp4: number;
|
|
57
|
+
public idEp5: number;
|
|
58
|
+
public cuenta: number;
|
|
59
|
+
public operacion: string;
|
|
60
|
+
public centroCosto: string;
|
|
61
|
+
public procede: string;
|
|
62
|
+
public documento: string;
|
|
63
|
+
public fecha: string;
|
|
64
|
+
public decripcion: string;
|
|
65
|
+
public monto: number;
|
|
66
|
+
public orden: string;
|
|
67
|
+
public numeroCompromiso: string;
|
|
68
|
+
public id: number;
|
|
69
|
+
|
|
70
|
+
constructor(comprobante: IComprobantePresupuestarioIngresos) {
|
|
71
|
+
this.idEmpresa = parseInt(comprobante.id_empresa);
|
|
72
|
+
this.idEnterprise=+comprobante.id_enterprise;
|
|
73
|
+
this.idComprobante = parseInt(comprobante.id_comprobante);
|
|
74
|
+
this.idEp1 = parseInt(comprobante.id_ep1);
|
|
75
|
+
this.idEp2 = parseInt(comprobante.id_ep2);
|
|
76
|
+
this.idEp3 = parseInt(comprobante.id_ep3);
|
|
77
|
+
this.idEp4 = parseInt(comprobante.id_ep4);
|
|
78
|
+
this.idEp5 = parseInt(comprobante.id_ep5);
|
|
79
|
+
this.cuenta = parseInt(comprobante.spi_cuenta);
|
|
80
|
+
this.operacion = comprobante.operacion;
|
|
81
|
+
this.procede = comprobante.procede_doc;
|
|
82
|
+
this.documento = comprobante.documento;
|
|
83
|
+
this.centroCosto = comprobante.codcencos;
|
|
84
|
+
this.fecha = comprobante.feccmp;
|
|
85
|
+
this.decripcion = comprobante.descmp;
|
|
86
|
+
this.monto = parseFloat(comprobante.moncmp);
|
|
87
|
+
this.orden = comprobante.orden;
|
|
88
|
+
// this.numeroCompromiso = comprobante.numconcom;
|
|
89
|
+
this.id = parseInt(comprobante.id_dt_spicmp);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// TERMINAR EL MODELO
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { IConfigurationSPG } from '../../interfaces/ConfigurationSPG';
|
|
2
|
+
import { MMonedaConfig } from '../CFG/moneda.model';
|
|
3
|
+
|
|
4
|
+
export class MConfigurationSPG {
|
|
5
|
+
public cuentasPresupuestoCedentes: string;
|
|
6
|
+
public cunetasPresupuestoRecaudadores: string;
|
|
7
|
+
public estatusAnticipoPresupuestario: string;
|
|
8
|
+
public estatusCierrePresupuestoGasto: string;
|
|
9
|
+
public estatusCierrePresupuestoIngreso: string;
|
|
10
|
+
public estatusIntegracionCredito: string;
|
|
11
|
+
public estatusModoEstructuraPresupuestaria: string;
|
|
12
|
+
public estatusPresupuestoIngreso: string;
|
|
13
|
+
public estatusDecimalesPresupuestoGasto: string;
|
|
14
|
+
public estatusDecimalesPresupuestoIngreso: string;
|
|
15
|
+
public estatusValidacionPresupuestoGasto: string;
|
|
16
|
+
public estatusVariacionPartidas: string;
|
|
17
|
+
public formatoPresupuestoGasto: string;
|
|
18
|
+
public formatoPresupuestoIngreso: string;
|
|
19
|
+
public digitosCuentasPresupuestoContabilidadGeneralParaGastos: string;
|
|
20
|
+
public idEmpresa: string;
|
|
21
|
+
public IdSPG: string;
|
|
22
|
+
public digitoCuentaPresupuestoContabilidadParaIngresos: string;
|
|
23
|
+
public longitudesCodigoEstructuraPresupuestria: string[] = [];
|
|
24
|
+
public nivelValidacionEstructura: string;
|
|
25
|
+
public nombresEstructuraPresupuestaria: string[] = [];
|
|
26
|
+
public numerosNiveles: string;
|
|
27
|
+
public validacionPorEstucturaPresupuestaria: string;
|
|
28
|
+
public validacionNivelCuentaGenerica: string;
|
|
29
|
+
public estatusModoAperturaCuentas: string;
|
|
30
|
+
public saldoInicialProgramado: string;
|
|
31
|
+
public saldoInicialEjecutado: string;
|
|
32
|
+
public estatusContadorCompromiso: string;
|
|
33
|
+
public numeroInicialCompromiso: string;
|
|
34
|
+
public moneda: MMonedaConfig = null;
|
|
35
|
+
public codigoONAPRE=null;
|
|
36
|
+
public decimalesAlternos:number=0;
|
|
37
|
+
|
|
38
|
+
constructor(configuration: IConfigurationSPG) {
|
|
39
|
+
this.cuentasPresupuestoCedentes = configuration.ctaspgced;
|
|
40
|
+
this.cunetasPresupuestoRecaudadores = configuration.ctaspgrec;
|
|
41
|
+
this.estatusAnticipoPresupuestario = configuration.estantspg;
|
|
42
|
+
this.estatusCierrePresupuestoGasto = configuration.estciespg;
|
|
43
|
+
this.estatusCierrePresupuestoIngreso = configuration.estciespi;
|
|
44
|
+
this.estatusIntegracionCredito = configuration.estintcred;
|
|
45
|
+
this.estatusModoEstructuraPresupuestaria = configuration.estmodest;
|
|
46
|
+
this.estatusPresupuestoIngreso = configuration.estpreing;
|
|
47
|
+
this.estatusDecimalesPresupuestoGasto = configuration.estspgdecimal;
|
|
48
|
+
this.estatusDecimalesPresupuestoIngreso = configuration.estspidecimal;
|
|
49
|
+
this.estatusValidacionPresupuestoGasto = configuration.estvalspg;
|
|
50
|
+
this.estatusVariacionPartidas = configuration.estvarpar;
|
|
51
|
+
this.formatoPresupuestoGasto = configuration.formpre;
|
|
52
|
+
this.formatoPresupuestoIngreso = configuration.formspi;
|
|
53
|
+
this.digitosCuentasPresupuestoContabilidadGeneralParaGastos = configuration.gasto_p;
|
|
54
|
+
this.idEmpresa = configuration.id_empresa;
|
|
55
|
+
this.IdSPG = configuration.id_spg;
|
|
56
|
+
this.digitoCuentaPresupuestoContabilidadParaIngresos = configuration.ingreso_p;
|
|
57
|
+
this.longitudesCodigoEstructuraPresupuestria.push(configuration.loncodestpro1 || null);
|
|
58
|
+
this.longitudesCodigoEstructuraPresupuestria.push(configuration.loncodestpro2 || null);
|
|
59
|
+
this.longitudesCodigoEstructuraPresupuestria.push(configuration.loncodestpro3 || null);
|
|
60
|
+
this.longitudesCodigoEstructuraPresupuestria.push(configuration.loncodestpro4 || null);
|
|
61
|
+
this.longitudesCodigoEstructuraPresupuestria.push(configuration.loncodestpro5 || null);
|
|
62
|
+
this.nivelValidacionEstructura = configuration.nivvalest;
|
|
63
|
+
this.nombresEstructuraPresupuestaria.push(configuration.nomestpro1 || null);
|
|
64
|
+
this.nombresEstructuraPresupuestaria.push(configuration.nomestpro2 || null);
|
|
65
|
+
this.nombresEstructuraPresupuestaria.push(configuration.nomestpro3 || null);
|
|
66
|
+
this.nombresEstructuraPresupuestaria.push(configuration.nomestpro4 || null);
|
|
67
|
+
this.nombresEstructuraPresupuestaria.push(configuration.nomestpro5 || null);
|
|
68
|
+
this.numerosNiveles = configuration.numniv;
|
|
69
|
+
this.validacionPorEstucturaPresupuestaria = configuration.valestpre;
|
|
70
|
+
this.validacionNivelCuentaGenerica = configuration.vali_nivel;
|
|
71
|
+
this.estatusModoAperturaCuentas = configuration.estmodape;
|
|
72
|
+
this.saldoInicialProgramado = configuration.salinipro;
|
|
73
|
+
this.saldoInicialEjecutado = configuration.salinieje
|
|
74
|
+
this.estatusContadorCompromiso = configuration.estconcom;
|
|
75
|
+
this.numeroInicialCompromiso = configuration.numinicom;
|
|
76
|
+
this.codigoONAPRE= configuration.codasiona;
|
|
77
|
+
this.moneda = new MMonedaConfig({
|
|
78
|
+
codiso: configuration.moneda_actual.codiso,
|
|
79
|
+
codmon: configuration.moneda_actual.codmon,
|
|
80
|
+
denmon: configuration.moneda_actual.denmon,
|
|
81
|
+
separadordec: configuration.moneda_actual.separadordec,
|
|
82
|
+
separadormil: configuration.moneda_actual.separadormil,
|
|
83
|
+
simmon: configuration.moneda_actual.simmon,
|
|
84
|
+
decimal: configuration.moneda_actual.decimal,
|
|
85
|
+
decimal_alt:this.decimalesAlternos.toString(),
|
|
86
|
+
})
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ICuentaEgresos } from '../../interfaces/Presupuesto';
|
|
2
|
+
import { ICuentaPresupuesto } from '../../interfaces/CuentaPresupuesto';
|
|
3
|
+
import { MBasicModel } from '../basic-model.model';
|
|
4
|
+
|
|
5
|
+
export class MCuentaPresupuesto {
|
|
6
|
+
public cuenta: string = null;
|
|
7
|
+
public denominacion: string = null;
|
|
8
|
+
public status: string = null;
|
|
9
|
+
public tipo: string = null;
|
|
10
|
+
|
|
11
|
+
constructor(cuentaPresupuesto: ICuentaPresupuesto) {
|
|
12
|
+
this.cuenta = cuentaPresupuesto.sig_cuenta.trim();
|
|
13
|
+
this.denominacion = cuentaPresupuesto.denominacion;
|
|
14
|
+
this.status = cuentaPresupuesto.status;
|
|
15
|
+
this.tipo = cuentaPresupuesto.tipcta
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export class MCuentaEgresos extends MBasicModel{
|
|
22
|
+
|
|
23
|
+
public idEmpresa: number = 0;
|
|
24
|
+
public nivel: number = 0;
|
|
25
|
+
public denominacion: string = '';
|
|
26
|
+
public cuenta:string = '';
|
|
27
|
+
public cuentaContable: string = '------------';
|
|
28
|
+
public cuentaONCOP: string = '------------';
|
|
29
|
+
public clasificador: string = '------------';
|
|
30
|
+
public referencia: string = '';
|
|
31
|
+
public aumento: number = 0;
|
|
32
|
+
public asignado: number = 0;
|
|
33
|
+
public causado: number = 0;
|
|
34
|
+
public disminucion: number = 0;
|
|
35
|
+
public distribuir: number = 0;
|
|
36
|
+
public precomprometido: number = 0;
|
|
37
|
+
public pagado: number = 0;
|
|
38
|
+
public enero: number = 0;
|
|
39
|
+
public febrero: number = 0;
|
|
40
|
+
public marzo: number = 0;
|
|
41
|
+
public abril: number = 0;
|
|
42
|
+
public mayo: number = 0;
|
|
43
|
+
public junio: number = 0;
|
|
44
|
+
public julio: number = 0;
|
|
45
|
+
public agosto: number = 0;
|
|
46
|
+
public septiembre: number = 0;
|
|
47
|
+
public octubre: number = 0;
|
|
48
|
+
public noviembre: number = 0;
|
|
49
|
+
public diciembre: number = 0;
|
|
50
|
+
public idEP1: number = 0;
|
|
51
|
+
public idEP2: number = 0;
|
|
52
|
+
public idEP3: number = 0;
|
|
53
|
+
public idEP4: number = 0;
|
|
54
|
+
public idEP5: number = 0;
|
|
55
|
+
public codestpro1: string = '';
|
|
56
|
+
public codestpro2: string = '';
|
|
57
|
+
public codestpro3: string = '';
|
|
58
|
+
public codestpro4: string = '';
|
|
59
|
+
public codestpro5: string = '';
|
|
60
|
+
public estructura: string = '';
|
|
61
|
+
public selected: boolean = false;
|
|
62
|
+
public isNew: boolean = false;
|
|
63
|
+
public error: boolean = false;
|
|
64
|
+
public status: string='';
|
|
65
|
+
public id: number = 0;
|
|
66
|
+
public codfuefin: number= 0;
|
|
67
|
+
|
|
68
|
+
constructor(cuenta?: ICuentaEgresos, level?: number, isNew?: boolean){
|
|
69
|
+
super();
|
|
70
|
+
if(cuenta){
|
|
71
|
+
this.idEmpresa = parseInt(cuenta.id_empresa);
|
|
72
|
+
this.nivel = parseInt(cuenta.nivel);
|
|
73
|
+
this.denominacion = cuenta.denspgcta;
|
|
74
|
+
this.cuenta = cuenta.spg_cuenta;
|
|
75
|
+
this.cuentaContable = cuenta.sc_cuenta;
|
|
76
|
+
this.status=cuenta.status;
|
|
77
|
+
this.referencia = cuenta.referencia;
|
|
78
|
+
this.aumento = parseInt(cuenta.aumento);
|
|
79
|
+
this.asignado = parseInt(cuenta.asignado);
|
|
80
|
+
this.causado = parseInt(cuenta.causado);
|
|
81
|
+
this.pagado = parseInt(cuenta.pagado)
|
|
82
|
+
this.distribuir = parseInt(cuenta.distribuir);
|
|
83
|
+
this.disminucion = parseInt(cuenta.disminiucion);
|
|
84
|
+
this.precomprometido = parseInt(cuenta.precomprometido)
|
|
85
|
+
this.enero = parseInt(cuenta.enero);
|
|
86
|
+
this.febrero = parseInt(cuenta.febrero);
|
|
87
|
+
this.marzo = parseInt(cuenta.marzo);
|
|
88
|
+
this.abril = parseInt(cuenta.abril);
|
|
89
|
+
this.mayo = parseInt(cuenta.mayo);
|
|
90
|
+
this.junio = parseInt(cuenta.junio);
|
|
91
|
+
this.julio = parseInt(cuenta.julio);
|
|
92
|
+
this.agosto = parseInt(cuenta.agosto);
|
|
93
|
+
this.septiembre = parseInt(cuenta.septiembre);
|
|
94
|
+
this.octubre = parseInt(cuenta.octubre);
|
|
95
|
+
this.noviembre = parseInt(cuenta.noviembre);
|
|
96
|
+
this.diciembre = parseInt(cuenta.diciembre);
|
|
97
|
+
this.clasificador = cuenta.codcuecla;
|
|
98
|
+
this.cuentaONCOP = cuenta.cueoncop;
|
|
99
|
+
this.idEP1 = parseInt(cuenta.id_ep1);
|
|
100
|
+
this.idEP2 = parseInt(cuenta.id_ep2);
|
|
101
|
+
this.idEP3 = parseInt(cuenta.id_ep3);
|
|
102
|
+
this.idEP4 = parseInt(cuenta.id_ep4);
|
|
103
|
+
this.idEP5 = parseInt(cuenta.id_ep5);
|
|
104
|
+
this.codfuefin = parseInt(cuenta.codfuefin);
|
|
105
|
+
this.id = cuenta.id_del_spgcta ? parseInt(cuenta.id_del_spgcta) : 0;
|
|
106
|
+
|
|
107
|
+
this.codestpro1 = cuenta.estructura ? cuenta.estructura.codestpro1 : '';
|
|
108
|
+
this.codestpro2 = cuenta.estructura ? cuenta.estructura.codestpro2 : '';
|
|
109
|
+
this.codestpro3 = cuenta.estructura ? cuenta.estructura.codestpro3 : '';
|
|
110
|
+
this.codestpro4 = cuenta.estructura ? cuenta.estructura.codestpro4 : '';
|
|
111
|
+
this.codestpro5 = cuenta.estructura ? cuenta.estructura.codestpro5 : '';
|
|
112
|
+
|
|
113
|
+
if (cuenta.estructura && level) {
|
|
114
|
+
if (level == 3) {
|
|
115
|
+
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}`
|
|
116
|
+
} else if (level == 4) {
|
|
117
|
+
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}`
|
|
118
|
+
} else {
|
|
119
|
+
this.estructura = `${this.codestpro1}-${this.codestpro2}-${this.codestpro3}-${this.codestpro4}-${this.codestpro5}`
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
this.isNew = false
|
|
124
|
+
|
|
125
|
+
} else{
|
|
126
|
+
this.isNew = true
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
}
|