sigesp 1.0.18-20240821 → 1.0.19-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/LICENSE +21 -0
- package/README.md +12 -9
- package/esm2020/lib/app/app.component.mjs +14 -0
- package/esm2020/lib/app/app.module.mjs +34 -0
- package/esm2020/lib/core/interfaces/Auditoria.mjs +49 -0
- package/esm2020/lib/core/interfaces/Banco.mjs +2 -0
- package/esm2020/lib/core/interfaces/Catalogo.mjs +2 -0
- package/esm2020/lib/core/interfaces/CentroCosto.mjs +2 -0
- package/esm2020/lib/core/interfaces/Clasificacion.mjs +2 -0
- package/esm2020/lib/core/interfaces/Cliente.mjs +2 -0
- package/esm2020/lib/core/interfaces/ComprobantePresupuestario.mjs +2 -0
- package/esm2020/lib/core/interfaces/Comunidad.mjs +2 -0
- package/esm2020/lib/core/interfaces/Configuracion.mjs +2 -0
- package/esm2020/lib/core/interfaces/ConfiguracionRPC.mjs +2 -0
- package/esm2020/lib/core/interfaces/ConfiguracionSCG.mjs +2 -0
- package/esm2020/lib/core/interfaces/ConfigurationSPG.mjs +2 -0
- package/esm2020/lib/core/interfaces/Constantes.mjs +365 -0
- package/esm2020/lib/core/interfaces/CuentaEgresos.mjs +2 -0
- package/esm2020/lib/core/interfaces/CuentaIngreso.mjs +2 -0
- package/esm2020/lib/core/interfaces/CuentaIngresoEstructura.mjs +2 -0
- package/esm2020/lib/core/interfaces/CuentaInstitucional.mjs +2 -0
- package/esm2020/lib/core/interfaces/CuentaPresupuesto.mjs +2 -0
- package/esm2020/lib/core/interfaces/CuentasPorPagar.mjs +2 -0
- package/esm2020/lib/core/interfaces/Documento.mjs +2 -0
- package/esm2020/lib/core/interfaces/EntradaSuministro.mjs +2 -0
- package/esm2020/lib/core/interfaces/Especialidad.mjs +2 -0
- package/esm2020/lib/core/interfaces/EstructuraPresupuestaria.mjs +2 -0
- package/esm2020/lib/core/interfaces/FuenteFinanciamiento.mjs +2 -0
- package/esm2020/lib/core/interfaces/IBancoCuentasPorPagar.mjs +2 -0
- package/esm2020/lib/core/interfaces/ITipoDepositos.mjs +2 -0
- package/esm2020/lib/core/interfaces/Integracion.mjs +2 -0
- package/esm2020/lib/core/interfaces/Lugares.mjs +2 -0
- package/esm2020/lib/core/interfaces/Moneda.mjs +2 -0
- package/esm2020/lib/core/interfaces/Nomina.mjs +27 -0
- package/esm2020/lib/core/interfaces/PlanUnicoCuenta.mjs +2 -0
- package/esm2020/lib/core/interfaces/Presupuesto.mjs +2 -0
- package/esm2020/lib/core/interfaces/Proveedor.mjs +2 -0
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +4 -0
- package/esm2020/lib/core/interfaces/Request.mjs +2 -0
- package/esm2020/lib/core/interfaces/Response.mjs +2 -0
- package/esm2020/lib/core/interfaces/Seguridad.mjs +2 -0
- package/esm2020/lib/core/interfaces/Servicios.mjs +2 -0
- package/esm2020/lib/core/interfaces/Sistema.mjs +2 -0
- package/esm2020/lib/core/interfaces/Tributos.mjs +2 -0
- package/esm2020/lib/core/interfaces/UnidadTributaria.mjs +2 -0
- package/esm2020/lib/core/interfaces/Usuario.mjs +2 -0
- package/esm2020/lib/core/interfaces/UsuarioPrefijo.mjs +2 -0
- package/esm2020/lib/core/models/CFG/Empresa.model.mjs +151 -0
- package/esm2020/lib/core/models/CFG/Enterprise.model.mjs +70 -0
- package/esm2020/lib/core/models/CFG/MPrefijo.model.mjs +64 -0
- package/esm2020/lib/core/models/CFG/Procede.model.mjs +31 -0
- package/esm2020/lib/core/models/CFG/TasaCambio.model.mjs +34 -0
- package/esm2020/lib/core/models/CFG/comunidad.model.mjs +22 -0
- package/esm2020/lib/core/models/CFG/locations.model.mjs +170 -0
- package/esm2020/lib/core/models/CFG/moneda.model.mjs +72 -0
- package/esm2020/lib/core/models/CFG/userPrefix.model.mjs +46 -0
- package/esm2020/lib/core/models/CXP/MConceptosCXP.model.mjs +34 -0
- package/esm2020/lib/core/models/CXP/MTipoDocumentoCXP.model.mjs +44 -0
- package/esm2020/lib/core/models/RPC/clasification.model.mjs +16 -0
- package/esm2020/lib/core/models/RPC/configuracionRPC.model.mjs +23 -0
- package/esm2020/lib/core/models/RPC/document.model.mjs +16 -0
- package/esm2020/lib/core/models/RPC/proveedores.model.mjs +9 -0
- package/esm2020/lib/core/models/RPC/providerBeneficiary.model.mjs +164 -0
- package/esm2020/lib/core/models/RPC/specialty.model.mjs +12 -0
- package/esm2020/lib/core/models/SCB/bank.model.mjs +181 -0
- package/esm2020/lib/core/models/SCG/IncomeAccount.mjs +83 -0
- package/esm2020/lib/core/models/SCG/accountMarriage.model.mjs +29 -0
- package/esm2020/lib/core/models/SCG/centroCosto.model.mjs +65 -0
- package/esm2020/lib/core/models/SCG/configuracionSCG.model.mjs +169 -0
- package/esm2020/lib/core/models/SCG/cuentaInstitucional.model.mjs +89 -0
- package/esm2020/lib/core/models/SCG/planUnicoCuenta.model.mjs +17 -0
- package/esm2020/lib/core/models/SFV/MClienteModel.mjs +116 -0
- package/esm2020/lib/core/models/SIV/MDetaContable.model.mjs +62 -0
- package/esm2020/lib/core/models/SIV/MDetaEntrada.model.mjs +94 -0
- package/esm2020/lib/core/models/SIV/MEntradaSuministro.model.mjs +132 -0
- package/esm2020/lib/core/models/SIV/MTipoDepositos.model.mjs +61 -0
- package/esm2020/lib/core/models/SNO/MAnticipoPrestaciones.model.mjs +100 -0
- package/esm2020/lib/core/models/SNO/MArchivoTxtCampo.model.mjs +61 -0
- package/esm2020/lib/core/models/SNO/MArchivosTxt.model.mjs +41 -0
- package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +205 -0
- package/esm2020/lib/core/models/SNO/MAspectoEvaluacion.model.mjs +90 -0
- package/esm2020/lib/core/models/SNO/MAuditoria.model.mjs +61 -0
- package/esm2020/lib/core/models/SNO/MBeneficiario.model.mjs +137 -0
- package/esm2020/lib/core/models/SNO/MCargaFamiliar.model.mjs +52 -0
- package/esm2020/lib/core/models/SNO/MCargaMasiva.model.mjs +34 -0
- package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +101 -0
- package/esm2020/lib/core/models/SNO/MClasificacionObrero.mdel.mjs +46 -0
- package/esm2020/lib/core/models/SNO/MCodigoUnicoRac.model.mjs +39 -0
- package/esm2020/lib/core/models/SNO/MComponete.model.mjs +38 -0
- package/esm2020/lib/core/models/SNO/MConceptoVacaciones.model.mjs +85 -0
- package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +234 -0
- package/esm2020/lib/core/models/SNO/MConceptosPersonalNomina.model.mjs +97 -0
- package/esm2020/lib/core/models/SNO/MConcursante.model.mjs +317 -0
- package/esm2020/lib/core/models/SNO/MConcurso.model.mjs +246 -0
- package/esm2020/lib/core/models/SNO/MConfiguracionSNO.model.mjs +410 -0
- package/esm2020/lib/core/models/SNO/MConstanteNomina.model.mjs +70 -0
- package/esm2020/lib/core/models/SNO/MConstantePersonalNomina.model.mjs +79 -0
- package/esm2020/lib/core/models/SNO/MDedicacion.model.mjs +35 -0
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +313 -0
- package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +84 -0
- package/esm2020/lib/core/models/SNO/MDeudaAnterior.model.mjs +40 -0
- package/esm2020/lib/core/models/SNO/MEncargaduria.model.mjs +138 -0
- package/esm2020/lib/core/models/SNO/MEscalaEvaluacion.model.mjs +38 -0
- package/esm2020/lib/core/models/SNO/MEscalaEvaluacionDt.model.mjs +37 -0
- package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +119 -0
- package/esm2020/lib/core/models/SNO/MFamiliares.model.mjs +86 -0
- package/esm2020/lib/core/models/SNO/MFeriados.model.mjs +43 -0
- package/esm2020/lib/core/models/SNO/MFideicomiso.model.mjs +406 -0
- package/esm2020/lib/core/models/SNO/MFormacionAcademica.model.mjs +49 -0
- package/esm2020/lib/core/models/SNO/MGrado.model.mjs +47 -0
- package/esm2020/lib/core/models/SNO/MHojaTiempo.model.mjs +117 -0
- package/esm2020/lib/core/models/SNO/MImpuestoSobreRenta.model.mjs +73 -0
- package/esm2020/lib/core/models/SNO/MMetodoBanco.model.mjs +105 -0
- package/esm2020/lib/core/models/SNO/MNominaSimple.model.mjs +86 -0
- package/esm2020/lib/core/models/SNO/MPeriodoNomina.model.mjs +184 -0
- package/esm2020/lib/core/models/SNO/MPermisos.model.mjs +68 -0
- package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +638 -0
- package/esm2020/lib/core/models/SNO/MPersonalJubilado.model.mjs +64 -0
- package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +313 -0
- package/esm2020/lib/core/models/SNO/MPlanHorario.model.mjs +117 -0
- package/esm2020/lib/core/models/SNO/MPlantillaConstancia.model.mjs +31 -0
- package/esm2020/lib/core/models/SNO/MPrestamo.model.mjs +221 -0
- package/esm2020/lib/core/models/SNO/MPrimaGrados.model.mjs +43 -0
- package/esm2020/lib/core/models/SNO/MPrimasConcepto.model.mjs +43 -0
- package/esm2020/lib/core/models/SNO/MRango.model.mjs +43 -0
- package/esm2020/lib/core/models/SNO/MReportesRRHH.mjs +402 -0
- package/esm2020/lib/core/models/SNO/MRequisitosConcursante.model.mjs +46 -0
- package/esm2020/lib/core/models/SNO/MRequisitosConcursos.model.mjs +37 -0
- package/esm2020/lib/core/models/SNO/MRequisitosMinimos.model.mjs +113 -0
- package/esm2020/lib/core/models/SNO/MSalarioHistorico.model.mjs +70 -0
- package/esm2020/lib/core/models/SNO/MSolicitudEmpleo.model.mjs +121 -0
- package/esm2020/lib/core/models/SNO/MTablaVacaciones.model.mjs +57 -0
- package/esm2020/lib/core/models/SNO/MTablaVacacionesPeriodo.model.mjs +40 -0
- package/esm2020/lib/core/models/SNO/MTabulador.model.mjs +96 -0
- package/esm2020/lib/core/models/SNO/MTipoEvaluacion.model.mjs +75 -0
- package/esm2020/lib/core/models/SNO/MTipoPersonal.model.mjs +34 -0
- package/esm2020/lib/core/models/SNO/MTiposEnfermedad.model.mjs +37 -0
- package/esm2020/lib/core/models/SNO/MTrabajoAnterior.model.mjs +65 -0
- package/esm2020/lib/core/models/SNO/MUbicacionFisica.model.mjs +61 -0
- package/esm2020/lib/core/models/SNO/MVacacionesPersonal.model.mjs +115 -0
- package/esm2020/lib/core/models/SOC/charge.model.mjs +66 -0
- package/esm2020/lib/core/models/SOC/clause.model.mjs +31 -0
- package/esm2020/lib/core/models/SOC/clauseModality.model.mjs +35 -0
- package/esm2020/lib/core/models/SOC/configuracionSOC.model.mjs +62 -0
- package/esm2020/lib/core/models/SOC/service.model.mjs +46 -0
- package/esm2020/lib/core/models/SOC/serviceCharge.model.mjs +37 -0
- package/esm2020/lib/core/models/SOC/serviceType.model.mjs +31 -0
- package/esm2020/lib/core/models/SPG/UnidadAdministradoraCentral.mjs +43 -0
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +112 -0
- package/esm2020/lib/core/models/SPG/comprobantePresupuestario.model.mjs +51 -0
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +59 -0
- package/esm2020/lib/core/models/SPG/cuentaPresupuesto.model.mjs +120 -0
- package/esm2020/lib/core/models/SPG/estructuraPresupuestaria.model.mjs +176 -0
- package/esm2020/lib/core/models/SPG/expensiveAccount.model.mjs +108 -0
- package/esm2020/lib/core/models/SPG/fuenteFinanciamiento.model.mjs +31 -0
- package/esm2020/lib/core/models/SPG/incomeStructureAccount.model.mjs +81 -0
- package/esm2020/lib/core/models/SPG/organizationType.model.mjs +12 -0
- package/esm2020/lib/core/models/SSS/component.model.mjs +44 -0
- package/esm2020/lib/core/models/SSS/group.model.mjs +30 -0
- package/esm2020/lib/core/models/SSS/log.model.mjs +29 -0
- package/esm2020/lib/core/models/SSS/securityConfiguration.model.mjs +20 -0
- package/esm2020/lib/core/models/SSS/sistema.mjs +71 -0
- package/esm2020/lib/core/models/SSS/user.model.mjs +32 -0
- package/esm2020/lib/core/models/SSS/userDetail.model.mjs +73 -0
- package/esm2020/lib/core/models/SSS/userPermit.model.mjs +47 -0
- package/esm2020/lib/core/models/SSS/userRights.model.mjs +104 -0
- package/esm2020/lib/core/models/STB/MCargosAdicionales.mjs +84 -0
- package/esm2020/lib/core/models/STB/deduction.model.mjs +90 -0
- package/esm2020/lib/core/models/STB/deductionType.model.mjs +20 -0
- package/esm2020/lib/core/models/STB/unidadTributaria.model.mjs +14 -0
- package/esm2020/lib/core/models/basic-model.model.mjs +8 -0
- package/esm2020/lib/shared/components/catalogo/catalogo.component.mjs +76 -0
- package/esm2020/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.mjs +87 -0
- package/esm2020/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.mjs +74 -0
- package/esm2020/lib/shared/components/confirm/confirm.component.mjs +35 -0
- package/esm2020/lib/shared/components/icon/icon.component.mjs +22 -0
- package/esm2020/lib/shared/components/table-select/table-select.component.mjs +99 -0
- package/esm2020/lib/shared/material/customPaginator.mjs +24 -0
- package/esm2020/lib/shared/material/material.module.mjs +322 -0
- package/esm2020/lib/shared/pipes/iso-currency.pipe.mjs +43 -0
- package/esm2020/lib/shared/shared.module.mjs +66 -0
- package/esm2020/lib/sigesp.service.mjs +2064 -0
- package/esm2020/lib/validation.service.mjs +131 -0
- package/esm2020/public-api.mjs +156 -0
- package/esm2020/sigesp.mjs +5 -0
- package/fesm2015/sigesp.mjs +14629 -0
- package/fesm2015/sigesp.mjs.map +1 -0
- package/fesm2020/sigesp.mjs +14588 -0
- package/fesm2020/sigesp.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/app/app.component.d.ts +8 -0
- package/lib/app/app.module.d.ts +10 -0
- package/lib/core/interfaces/Auditoria.d.ts +19 -0
- package/lib/core/interfaces/Banco.d.ts +593 -0
- package/lib/core/interfaces/Catalogo.d.ts +13 -0
- package/lib/core/interfaces/CentroCosto.d.ts +18 -0
- package/lib/core/interfaces/Clasificacion.d.ts +6 -0
- package/lib/core/interfaces/Cliente.d.ts +36 -0
- package/lib/core/interfaces/ComprobantePresupuestario.d.ts +42 -0
- package/lib/core/interfaces/Comunidad.d.ts +12 -0
- package/lib/core/interfaces/Configuracion.d.ts +101 -0
- package/lib/core/interfaces/ConfiguracionRPC.d.ts +10 -0
- package/lib/core/interfaces/ConfiguracionSCG.d.ts +54 -0
- package/lib/core/interfaces/ConfigurationSPG.d.ts +42 -0
- package/lib/core/interfaces/Constantes.d.ts +84 -0
- package/lib/core/interfaces/CuentaEgresos.d.ts +153 -0
- package/lib/core/interfaces/CuentaIngreso.d.ts +37 -0
- package/lib/core/interfaces/CuentaIngresoEstructura.d.ts +24 -0
- package/lib/core/interfaces/CuentaInstitucional.d.ts +26 -0
- package/lib/core/interfaces/CuentaPresupuesto.d.ts +6 -0
- package/lib/core/interfaces/CuentasPorPagar.d.ts +37 -0
- package/lib/core/interfaces/Documento.d.ts +6 -0
- package/lib/core/interfaces/EntradaSuministro.d.ts +87 -0
- package/lib/core/interfaces/Especialidad.d.ts +4 -0
- package/lib/core/interfaces/EstructuraPresupuestaria.d.ts +89 -0
- package/lib/core/interfaces/FuenteFinanciamiento.d.ts +7 -0
- package/lib/core/interfaces/IBancoCuentasPorPagar.d.ts +186 -0
- package/lib/core/interfaces/ITipoDepositos.d.ts +17 -0
- package/lib/core/interfaces/Integracion.d.ts +6 -0
- package/lib/core/interfaces/Lugares.d.ts +40 -0
- package/lib/core/interfaces/Moneda.d.ts +20 -0
- package/lib/core/interfaces/Nomina.d.ts +550 -0
- package/lib/core/interfaces/PlanUnicoCuenta.d.ts +4 -0
- package/lib/core/interfaces/Presupuesto.d.ts +122 -0
- package/lib/core/interfaces/Proveedor.d.ts +75 -0
- package/lib/core/interfaces/RecursosHumanos.d.ts +1616 -0
- package/{src/lib/core/interfaces/Request.ts → lib/core/interfaces/Request.d.ts} +3 -4
- package/lib/core/interfaces/Response.d.ts +7 -0
- package/lib/core/interfaces/Seguridad.d.ts +110 -0
- package/lib/core/interfaces/Servicios.d.ts +58 -0
- package/lib/core/interfaces/Sistema.d.ts +19 -0
- package/lib/core/interfaces/Tributos.d.ts +73 -0
- package/lib/core/interfaces/UnidadTributaria.d.ts +11 -0
- package/lib/core/interfaces/Usuario.d.ts +52 -0
- package/lib/core/interfaces/UsuarioPrefijo.d.ts +12 -0
- package/lib/core/models/CFG/Empresa.model.d.ts +52 -0
- package/lib/core/models/CFG/Enterprise.model.d.ts +24 -0
- package/lib/core/models/CFG/MPrefijo.model.d.ts +22 -0
- package/lib/core/models/CFG/Procede.model.d.ts +11 -0
- package/lib/core/models/CFG/TasaCambio.model.d.ts +12 -0
- package/lib/core/models/CFG/comunidad.model.d.ts +15 -0
- package/lib/core/models/CFG/locations.model.d.ts +54 -0
- package/lib/core/models/CFG/moneda.model.d.ts +26 -0
- package/lib/core/models/CFG/userPrefix.model.d.ts +16 -0
- package/lib/core/models/CXP/MConceptosCXP.model.d.ts +12 -0
- package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +16 -0
- package/lib/core/models/RPC/clasification.model.d.ts +11 -0
- package/lib/core/models/RPC/configuracionRPC.model.d.ts +12 -0
- package/lib/core/models/RPC/document.model.d.ts +11 -0
- package/lib/core/models/RPC/proveedores.model.d.ts +8 -0
- package/lib/core/models/RPC/providerBeneficiary.model.d.ts +75 -0
- package/lib/core/models/RPC/specialty.model.d.ts +9 -0
- package/lib/core/models/SCB/bank.model.d.ts +63 -0
- package/lib/core/models/SCG/IncomeAccount.d.ts +43 -0
- package/lib/core/models/SCG/accountMarriage.model.d.ts +11 -0
- package/lib/core/models/SCG/centroCosto.model.d.ts +23 -0
- package/lib/core/models/SCG/configuracionSCG.model.d.ts +58 -0
- package/lib/core/models/SCG/cuentaInstitucional.model.d.ts +32 -0
- package/lib/core/models/SCG/planUnicoCuenta.model.d.ts +8 -0
- package/lib/core/models/SFV/MClienteModel.d.ts +40 -0
- package/lib/core/models/SIV/MDetaContable.model.d.ts +21 -0
- package/lib/core/models/SIV/MDetaEntrada.model.d.ts +33 -0
- package/lib/core/models/SIV/MEntradaSuministro.model.d.ts +47 -0
- package/lib/core/models/SIV/MTipoDepositos.model.d.ts +21 -0
- package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +32 -0
- package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +21 -0
- package/lib/core/models/SNO/MArchivosTxt.model.d.ts +15 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +79 -0
- package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +30 -0
- package/lib/core/models/SNO/MAuditoria.model.d.ts +21 -0
- package/lib/core/models/SNO/MBeneficiario.model.d.ts +48 -0
- package/lib/core/models/SNO/MCargaFamiliar.model.d.ts +18 -0
- package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +40 -0
- package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +16 -0
- package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +14 -0
- package/lib/core/models/SNO/MComponete.model.d.ts +14 -0
- package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +30 -0
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +78 -0
- package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +34 -0
- package/lib/core/models/SNO/MConcursante.model.d.ts +104 -0
- package/lib/core/models/SNO/MConcurso.model.d.ts +83 -0
- package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +138 -0
- package/lib/core/models/SNO/MConstanteNomina.model.d.ts +24 -0
- package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +27 -0
- package/lib/core/models/SNO/MDedicacion.model.d.ts +13 -0
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +119 -0
- package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +26 -0
- package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +14 -0
- package/lib/core/models/SNO/MEncargaduria.model.d.ts +47 -0
- package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +15 -0
- package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +14 -0
- package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +42 -0
- package/lib/core/models/SNO/MFamiliares.model.d.ts +31 -0
- package/lib/core/models/SNO/MFeriados.model.d.ts +16 -0
- package/lib/core/models/SNO/MFideicomiso.model.d.ts +143 -0
- package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +18 -0
- package/lib/core/models/SNO/MGrado.model.d.ts +18 -0
- package/lib/core/models/SNO/MHojaTiempo.model.d.ts +40 -0
- package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +25 -0
- package/lib/core/models/SNO/MMetodoBanco.model.d.ts +35 -0
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +36 -0
- package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +58 -0
- package/lib/core/models/SNO/MPermisos.model.d.ts +24 -0
- package/lib/core/models/SNO/MPersonal.model.d.ts +219 -0
- package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +23 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +100 -0
- package/lib/core/models/SNO/MPlanHorario.model.d.ts +41 -0
- package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
- package/lib/core/models/SNO/MPrestamo.model.d.ts +69 -0
- package/lib/core/models/SNO/MPrimaGrados.model.d.ts +15 -0
- package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +15 -0
- package/lib/core/models/SNO/MRango.model.d.ts +15 -0
- package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
- package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +16 -0
- package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +14 -0
- package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +39 -0
- package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +25 -0
- package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +42 -0
- package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +15 -0
- package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +15 -0
- package/lib/core/models/SNO/MTabulador.model.d.ts +39 -0
- package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +28 -0
- package/lib/core/models/SNO/MTipoPersonal.model.d.ts +13 -0
- package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +14 -0
- package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +24 -0
- package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +21 -0
- package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +40 -0
- package/lib/core/models/SOC/charge.model.d.ts +24 -0
- package/lib/core/models/SOC/clause.model.d.ts +11 -0
- package/lib/core/models/SOC/clauseModality.model.d.ts +13 -0
- package/lib/core/models/SOC/configuracionSOC.model.d.ts +20 -0
- package/lib/core/models/SOC/service.model.d.ts +16 -0
- package/lib/core/models/SOC/serviceCharge.model.d.ts +13 -0
- package/lib/core/models/SOC/serviceType.model.d.ts +11 -0
- package/lib/core/models/SPG/UnidadAdministradoraCentral.d.ts +15 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +58 -0
- package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +46 -0
- package/lib/core/models/SPG/configurationSPG.model.d.ts +37 -0
- package/lib/core/models/SPG/cuentaPresupuesto.model.d.ts +57 -0
- package/lib/core/models/SPG/estructuraPresupuestaria.model.d.ts +123 -0
- package/lib/core/models/SPG/expensiveAccount.model.d.ts +49 -0
- package/lib/core/models/SPG/fuenteFinanciamiento.model.d.ts +11 -0
- package/lib/core/models/SPG/incomeStructureAccount.model.d.ts +38 -0
- package/lib/core/models/SPG/organizationType.model.d.ts +9 -0
- package/lib/core/models/SSS/component.model.d.ts +16 -0
- package/lib/core/models/SSS/group.model.d.ts +16 -0
- package/lib/core/models/SSS/log.model.d.ts +15 -0
- package/lib/core/models/SSS/securityConfiguration.model.d.ts +9 -0
- package/lib/core/models/SSS/sistema.d.ts +25 -0
- package/lib/core/models/SSS/user.model.d.ts +22 -0
- package/lib/core/models/SSS/userDetail.model.d.ts +26 -0
- package/lib/core/models/SSS/userPermit.model.d.ts +18 -0
- package/lib/core/models/SSS/userRights.model.d.ts +35 -0
- package/lib/core/models/STB/MCargosAdicionales.d.ts +31 -0
- package/lib/core/models/STB/deduction.model.d.ts +30 -0
- package/lib/core/models/STB/deductionType.model.d.ts +9 -0
- package/lib/core/models/STB/unidadTributaria.model.d.ts +13 -0
- package/lib/core/models/basic-model.model.d.ts +6 -0
- package/lib/shared/components/catalogo/catalogo.component.d.ts +35 -0
- package/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.d.ts +39 -0
- package/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.d.ts +38 -0
- package/lib/shared/components/confirm/confirm.component.d.ts +21 -0
- package/lib/shared/components/icon/icon.component.d.ts +11 -0
- package/lib/shared/components/table-select/table-select.component.d.ts +39 -0
- package/lib/shared/material/customPaginator.d.ts +9 -0
- package/lib/shared/material/material.module.d.ts +48 -0
- package/lib/shared/pipes/iso-currency.pipe.d.ts +13 -0
- package/lib/shared/shared.module.d.ts +16 -0
- package/lib/sigesp.service.d.ts +1060 -0
- package/lib/validation.service.d.ts +15 -0
- package/package.json +31 -11
- package/public-api.d.ts +164 -0
- package/karma.conf.js +0 -32
- package/ng-package.json +0 -7
- package/src/lib/app/app.component.html +0 -1
- package/src/lib/app/app.component.scss +0 -0
- package/src/lib/app/app.component.ts +0 -15
- package/src/lib/app/app.module.ts +0 -21
- package/src/lib/core/interfaces/Auditoria.ts +0 -72
- package/src/lib/core/interfaces/Banco.ts +0 -633
- package/src/lib/core/interfaces/Catalogo.ts +0 -15
- package/src/lib/core/interfaces/CentroCosto.ts +0 -20
- package/src/lib/core/interfaces/Clasificacion.ts +0 -6
- package/src/lib/core/interfaces/Cliente.ts +0 -36
- package/src/lib/core/interfaces/ComprobantePresupuestario.ts +0 -43
- package/src/lib/core/interfaces/Comunidad.ts +0 -12
- package/src/lib/core/interfaces/Configuracion.ts +0 -110
- package/src/lib/core/interfaces/ConfiguracionRPC.ts +0 -10
- package/src/lib/core/interfaces/ConfiguracionSCG.ts +0 -54
- package/src/lib/core/interfaces/ConfigurationSPG.ts +0 -43
- package/src/lib/core/interfaces/Constantes.ts +0 -463
- package/src/lib/core/interfaces/CuentaEgresos.ts +0 -159
- package/src/lib/core/interfaces/CuentaIngreso.ts +0 -37
- package/src/lib/core/interfaces/CuentaIngresoEstructura.ts +0 -25
- package/src/lib/core/interfaces/CuentaInstitucional.ts +0 -26
- package/src/lib/core/interfaces/CuentaPresupuesto.ts +0 -7
- package/src/lib/core/interfaces/CuentasPorPagar.ts +0 -40
- package/src/lib/core/interfaces/Documento.ts +0 -6
- package/src/lib/core/interfaces/EntradaSuministro.ts +0 -93
- package/src/lib/core/interfaces/Especialidad.ts +0 -4
- package/src/lib/core/interfaces/EstructuraPresupuestaria.ts +0 -96
- package/src/lib/core/interfaces/FuenteFinanciamiento.ts +0 -7
- package/src/lib/core/interfaces/IBancoCuentasPorPagar.ts +0 -192
- package/src/lib/core/interfaces/ITipoDepositos.ts +0 -17
- package/src/lib/core/interfaces/Integracion.ts +0 -6
- package/src/lib/core/interfaces/Lugares.ts +0 -45
- package/src/lib/core/interfaces/Moneda.ts +0 -22
- package/src/lib/core/interfaces/Nomina.ts +0 -607
- package/src/lib/core/interfaces/PlanUnicoCuenta.ts +0 -4
- package/src/lib/core/interfaces/Presupuesto.ts +0 -132
- package/src/lib/core/interfaces/Proveedor.ts +0 -79
- package/src/lib/core/interfaces/RecursosHumanos.ts +0 -1728
- package/src/lib/core/interfaces/Response.ts +0 -7
- package/src/lib/core/interfaces/Seguridad.ts +0 -118
- package/src/lib/core/interfaces/Servicios.ts +0 -64
- package/src/lib/core/interfaces/Sistema.ts +0 -21
- package/src/lib/core/interfaces/Tributos.ts +0 -78
- package/src/lib/core/interfaces/UnidadTributaria.ts +0 -11
- package/src/lib/core/interfaces/Usuario.ts +0 -57
- package/src/lib/core/interfaces/UsuarioPrefijo.ts +0 -12
- package/src/lib/core/models/CFG/Empresa.model.ts +0 -155
- package/src/lib/core/models/CFG/Enterprise.model.ts +0 -74
- package/src/lib/core/models/CFG/MPrefijo.model.ts +0 -66
- package/src/lib/core/models/CFG/Procede.model.ts +0 -34
- package/src/lib/core/models/CFG/TasaCambio.model.ts +0 -37
- package/src/lib/core/models/CFG/comunidad.model.ts +0 -34
- package/src/lib/core/models/CFG/locations.model.ts +0 -189
- package/src/lib/core/models/CFG/moneda.model.ts +0 -82
- package/src/lib/core/models/CFG/userPrefix.model.ts +0 -48
- package/src/lib/core/models/CXP/MConceptosCXP.model.ts +0 -36
- package/src/lib/core/models/CXP/MTipoDocumentoCXP.model.ts +0 -49
- package/src/lib/core/models/RPC/clasification.model.ts +0 -22
- package/src/lib/core/models/RPC/configuracionRPC.model.ts +0 -27
- package/src/lib/core/models/RPC/document.model.ts +0 -20
- package/src/lib/core/models/RPC/proveedores.model.ts +0 -15
- package/src/lib/core/models/RPC/providerBeneficiary.model.ts +0 -164
- package/src/lib/core/models/RPC/specialty.model.ts +0 -14
- package/src/lib/core/models/SCB/bank.model.ts +0 -205
- package/src/lib/core/models/SCG/IncomeAccount.ts +0 -87
- package/src/lib/core/models/SCG/accountMarriage.model.ts +0 -33
- package/src/lib/core/models/SCG/centroCosto.model.ts +0 -72
- package/src/lib/core/models/SCG/configuracionSCG.model.ts +0 -172
- package/src/lib/core/models/SCG/cuentaInstitucional.model.ts +0 -91
- package/src/lib/core/models/SCG/planUnicoCuenta.model.ts +0 -22
- package/src/lib/core/models/SFV/MClienteModel.ts +0 -119
- package/src/lib/core/models/SIV/MDetaContable.model.ts +0 -65
- package/src/lib/core/models/SIV/MDetaEntrada.model.ts +0 -98
- package/src/lib/core/models/SIV/MEntradaSuministro.model.ts +0 -135
- package/src/lib/core/models/SIV/MTipoDepositos.model.ts +0 -65
- package/src/lib/core/models/SNO/MAnticipoPrestaciones.model.ts +0 -112
- package/src/lib/core/models/SNO/MArchivoTxtCampo.model.ts +0 -63
- package/src/lib/core/models/SNO/MArchivosTxt.model.ts +0 -53
- package/src/lib/core/models/SNO/MAsignacionCargo.model.ts +0 -218
- package/src/lib/core/models/SNO/MAspectoEvaluacion.model.ts +0 -97
- package/src/lib/core/models/SNO/MAuditoria.model.ts +0 -67
- package/src/lib/core/models/SNO/MBeneficiario.model.ts +0 -139
- package/src/lib/core/models/SNO/MCargaFamiliar.model.ts +0 -54
- package/src/lib/core/models/SNO/MCargaMasiva.model.ts +0 -37
- package/src/lib/core/models/SNO/MCargosPersonal.model.ts +0 -108
- package/src/lib/core/models/SNO/MClasificacionObrero.mdel.ts +0 -48
- package/src/lib/core/models/SNO/MCodigoUnicoRac.model.ts +0 -41
- package/src/lib/core/models/SNO/MComponete.model.ts +0 -40
- package/src/lib/core/models/SNO/MConceptoVacaciones.model.ts +0 -94
- package/src/lib/core/models/SNO/MConceptosNomina.model.ts +0 -240
- package/src/lib/core/models/SNO/MConceptosPersonalNomina.model.ts +0 -103
- package/src/lib/core/models/SNO/MConcursante.model.ts +0 -333
- package/src/lib/core/models/SNO/MConcurso.model.ts +0 -267
- package/src/lib/core/models/SNO/MConfiguracionSNO.model.ts +0 -412
- package/src/lib/core/models/SNO/MConstanteNomina.model.ts +0 -76
- package/src/lib/core/models/SNO/MConstantePersonalNomina.model.ts +0 -85
- package/src/lib/core/models/SNO/MDedicacion.model.ts +0 -37
- package/src/lib/core/models/SNO/MDefinicionNomina.model.ts +0 -330
- package/src/lib/core/models/SNO/MDefinicionesBasicas.model.ts +0 -94
- package/src/lib/core/models/SNO/MDeudaAnterior.model.ts +0 -42
- package/src/lib/core/models/SNO/MEncargaduria.model.ts +0 -142
- package/src/lib/core/models/SNO/MEscalaEvaluacion.model.ts +0 -43
- package/src/lib/core/models/SNO/MEscalaEvaluacionDt.model.ts +0 -40
- package/src/lib/core/models/SNO/MEstructuraOrganizativa.model.ts +0 -125
- package/src/lib/core/models/SNO/MFamiliares.model.ts +0 -91
- package/src/lib/core/models/SNO/MFeriados.model.ts +0 -46
- package/src/lib/core/models/SNO/MFideicomiso.model.ts +0 -423
- package/src/lib/core/models/SNO/MFormacionAcademica.model.ts +0 -52
- package/src/lib/core/models/SNO/MGrado.model.ts +0 -50
- package/src/lib/core/models/SNO/MHojaTiempo.model.ts +0 -128
- package/src/lib/core/models/SNO/MImpuestoSobreRenta.model.ts +0 -77
- package/src/lib/core/models/SNO/MMetodoBanco.model.ts +0 -113
- package/src/lib/core/models/SNO/MNominaSimple.model.ts +0 -93
- package/src/lib/core/models/SNO/MPeriodoNomina.model.ts +0 -196
- package/src/lib/core/models/SNO/MPermisos.model.ts +0 -70
- package/src/lib/core/models/SNO/MPersonal.model.ts +0 -659
- package/src/lib/core/models/SNO/MPersonalJubilado.model.ts +0 -71
- package/src/lib/core/models/SNO/MPersonalNomina.model.ts +0 -328
- package/src/lib/core/models/SNO/MPlanHorario.model.ts +0 -134
- package/src/lib/core/models/SNO/MPlantillaConstancia.model.ts +0 -33
- package/src/lib/core/models/SNO/MPrestamo.model.ts +0 -242
- package/src/lib/core/models/SNO/MPrimaGrados.model.ts +0 -46
- package/src/lib/core/models/SNO/MPrimasConcepto.model.ts +0 -45
- package/src/lib/core/models/SNO/MRango.model.ts +0 -45
- package/src/lib/core/models/SNO/MReportesRRHH.ts +0 -425
- package/src/lib/core/models/SNO/MRequisitosConcursante.model.ts +0 -48
- package/src/lib/core/models/SNO/MRequisitosConcursos.model.ts +0 -41
- package/src/lib/core/models/SNO/MRequisitosMinimos.model.ts +0 -123
- package/src/lib/core/models/SNO/MSalarioHistorico.model.ts +0 -75
- package/src/lib/core/models/SNO/MSolicitudEmpleo.model.ts +0 -125
- package/src/lib/core/models/SNO/MTablaVacaciones.model.ts +0 -61
- package/src/lib/core/models/SNO/MTablaVacacionesPeriodo.model.ts +0 -45
- package/src/lib/core/models/SNO/MTabulador.model.ts +0 -108
- package/src/lib/core/models/SNO/MTipoEvaluacion.model.ts +0 -85
- package/src/lib/core/models/SNO/MTipoPersonal.model.ts +0 -37
- package/src/lib/core/models/SNO/MTiposEnfermedad.model.ts +0 -40
- package/src/lib/core/models/SNO/MTrabajoAnterior.model.ts +0 -70
- package/src/lib/core/models/SNO/MUbicacionFisica.model.ts +0 -63
- package/src/lib/core/models/SNO/MVacacionesPersonal.model.ts +0 -119
- package/src/lib/core/models/SOC/charge.model.ts +0 -78
- package/src/lib/core/models/SOC/clause.model.ts +0 -36
- package/src/lib/core/models/SOC/clauseModality.model.ts +0 -40
- package/src/lib/core/models/SOC/configuracionSOC.model.ts +0 -68
- package/src/lib/core/models/SOC/service.model.ts +0 -50
- package/src/lib/core/models/SOC/serviceCharge.model.ts +0 -39
- package/src/lib/core/models/SOC/serviceType.model.ts +0 -36
- package/src/lib/core/models/SPG/UnidadAdministradoraCentral.ts +0 -47
- package/src/lib/core/models/SPG/administrativeUnit.model.ts +0 -153
- package/src/lib/core/models/SPG/comprobantePresupuestario.model.ts +0 -93
- package/src/lib/core/models/SPG/configurationSPG.model.ts +0 -88
- package/src/lib/core/models/SPG/cuentaPresupuesto.model.ts +0 -131
- package/src/lib/core/models/SPG/estructuraPresupuestaria.model.ts +0 -280
- package/src/lib/core/models/SPG/expensiveAccount.model.ts +0 -114
- package/src/lib/core/models/SPG/fuenteFinanciamiento.model.ts +0 -33
- package/src/lib/core/models/SPG/incomeStructureAccount.model.ts +0 -84
- package/src/lib/core/models/SPG/organizationType.model.ts +0 -16
- package/src/lib/core/models/SSS/component.model.ts +0 -51
- package/src/lib/core/models/SSS/group.model.ts +0 -39
- package/src/lib/core/models/SSS/log.model.ts +0 -36
- package/src/lib/core/models/SSS/securityConfiguration.model.ts +0 -26
- package/src/lib/core/models/SSS/sistema.ts +0 -85
- package/src/lib/core/models/SSS/user.model.ts +0 -52
- package/src/lib/core/models/SSS/userDetail.model.ts +0 -78
- package/src/lib/core/models/SSS/userPermit.model.ts +0 -61
- package/src/lib/core/models/SSS/userRights.model.ts +0 -113
- package/src/lib/core/models/STB/MCargosAdicionales.ts +0 -93
- package/src/lib/core/models/STB/deduction.model.ts +0 -100
- package/src/lib/core/models/STB/deductionType.model.ts +0 -23
- package/src/lib/core/models/STB/unidadTributaria.model.ts +0 -25
- package/src/lib/core/models/basic-model.model.ts +0 -9
- package/src/lib/shared/components/catalogo/catalogo.component.html +0 -45
- package/src/lib/shared/components/catalogo/catalogo.component.scss +0 -82
- package/src/lib/shared/components/catalogo/catalogo.component.ts +0 -71
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.html +0 -57
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.scss +0 -82
- package/src/lib/shared/components/catalogo-doble-input/catalogo-doble-input.component.ts +0 -80
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.html +0 -121
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.scss +0 -81
- package/src/lib/shared/components/catalogo-estructuras/catalogo-estructuras.component.ts +0 -68
- package/src/lib/shared/components/confirm/confirm.component.html +0 -15
- package/src/lib/shared/components/confirm/confirm.component.scss +0 -37
- package/src/lib/shared/components/confirm/confirm.component.ts +0 -32
- package/src/lib/shared/components/icon/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
- package/src/lib/shared/components/icon/icon.component.html +0 -6
- package/src/lib/shared/components/icon/icon.component.scss +0 -22
- package/src/lib/shared/components/icon/icon.component.ts +0 -19
- package/src/lib/shared/components/table-select/table-select.component.html +0 -73
- package/src/lib/shared/components/table-select/table-select.component.scss +0 -86
- package/src/lib/shared/components/table-select/table-select.component.ts +0 -102
- package/src/lib/shared/material/customPaginator.ts +0 -22
- package/src/lib/shared/material/material.module.ts +0 -144
- package/src/lib/shared/pipes/iso-currency.pipe.ts +0 -44
- package/src/lib/shared/shared.module.ts +0 -41
- package/src/lib/sigesp.service.ts +0 -2770
- package/src/lib/validation.service.ts +0 -172
- package/src/public-api.ts +0 -489
- package/src/test.ts +0 -23
- package/tsconfig.lib.json +0 -27
- package/tsconfig.lib.prod.json +0 -6
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { IEntradaSuministros } from '../../interfaces/EntradaSuministro';
|
|
2
|
-
import { MBasicModel } from '../basic-model.model';
|
|
3
|
-
import { MDetaContable } from './MDetaContable.model';
|
|
4
|
-
import { MDetaEntrada } from './MDetaEntrada.model';
|
|
5
|
-
|
|
6
|
-
export class MEntradaSuministros extends MBasicModel{
|
|
7
|
-
public idEmpresa: number=0;
|
|
8
|
-
public idEntrada: number=0;
|
|
9
|
-
public idAlmacen: number=0;
|
|
10
|
-
public codigoAlmacen: string='';
|
|
11
|
-
public NameAlmacen: string='';
|
|
12
|
-
public cuentaContableES: string='';
|
|
13
|
-
public nameCuentaContable: string='';
|
|
14
|
-
public idProveedor: number=0; //soc id_proveedor
|
|
15
|
-
public NameProveedor: string=''; //soc nompro
|
|
16
|
-
public rifPro: string=''; //soc
|
|
17
|
-
public codigoDocumentoEntrada: string=''; //soc numordcom //15
|
|
18
|
-
public codigo: string=''; //15
|
|
19
|
-
public numeroLote: string=''; //15
|
|
20
|
-
public fechaRegistro: string='';
|
|
21
|
-
public observacion: string='Ninguna';
|
|
22
|
-
public tipoEntrega: string='';// tipentrece completa o parcial C ó P
|
|
23
|
-
public tipoEntrada: number=null; //estprodoc 0 orden de compra, 1 factura: cxp
|
|
24
|
-
public tipodoc: string='';
|
|
25
|
-
public estatusEntrada: number=0;
|
|
26
|
-
public aprobado: number=0;
|
|
27
|
-
public afectacion: number=0;
|
|
28
|
-
public centroCosto: string='---'; //soc codcencos
|
|
29
|
-
public nameCencos: string=''; //soc namecencos
|
|
30
|
-
public idUnidadEjecutora: number=0; //soc codcencos
|
|
31
|
-
public codigoUnidadEjecutora: string=''; //soc codcencos
|
|
32
|
-
public nameUnidadEjecutora: string=''; //soc codcencos
|
|
33
|
-
public integrado: number=0;
|
|
34
|
-
public fechaApro: string='1900-01-01';
|
|
35
|
-
public fechaCon: string='1900-01-01';
|
|
36
|
-
public fechaAnu: string='1900-01-01';
|
|
37
|
-
public usuRegistro: string='';
|
|
38
|
-
public usuAprobacion: string='';
|
|
39
|
-
public usuContabilizar: string='';
|
|
40
|
-
public usuAnulacion: string='';
|
|
41
|
-
public recepcion: string='';
|
|
42
|
-
public conanu:string='';
|
|
43
|
-
public fechaesp:string='';
|
|
44
|
-
public detalleEntrada: MDetaEntrada[]=[];
|
|
45
|
-
public detalleContable: MDetaContable[]=[];
|
|
46
|
-
|
|
47
|
-
constructor (e:IEntradaSuministros=null) {
|
|
48
|
-
super()
|
|
49
|
-
if (e){
|
|
50
|
-
this.idEmpresa=parseInt(e.id_empresa);
|
|
51
|
-
this.idEntrada=parseInt(e.id_recepcion);
|
|
52
|
-
this.idAlmacen=parseInt(e.id_almacen);
|
|
53
|
-
this.NameAlmacen=e.nomfisalm;
|
|
54
|
-
this.cuentaContableES=e.sc_cuenta;
|
|
55
|
-
this.nameCuentaContable=e.name_sc_cta;
|
|
56
|
-
this.codigoAlmacen=e.codalm;
|
|
57
|
-
this.idProveedor=parseInt(e.id_proveedor);
|
|
58
|
-
this.NameProveedor=e.name_proveedor;
|
|
59
|
-
this.rifPro=e.rifpro;
|
|
60
|
-
this.codigoDocumentoEntrada=e.numordfac; //15
|
|
61
|
-
this.codigo=e.codrec; //15
|
|
62
|
-
this.numeroLote=e.numlote; //15
|
|
63
|
-
this.fechaRegistro=e.fecrec;
|
|
64
|
-
this.observacion=e.obsrec;
|
|
65
|
-
this.tipoEntrega=e.tipentrec;// tipentrece completa o parcial C ó P
|
|
66
|
-
this.tipoEntrada=parseInt(e.estprodoc); //estprodoc 0 orden de compra, 1 factura: cxp, 2 inventario inicial
|
|
67
|
-
this.tipodoc=e.tipodoc;
|
|
68
|
-
this.estatusEntrada=parseInt(e.estrec);
|
|
69
|
-
this.aprobado=parseInt(e.estapr);
|
|
70
|
-
this.afectacion=parseInt(e.estafe);
|
|
71
|
-
this.centroCosto=e.codcencos;
|
|
72
|
-
this.nameCencos=e.name_cencos;
|
|
73
|
-
this.idUnidadEjecutora=parseInt(e.id_uniadm);
|
|
74
|
-
this.codigoUnidadEjecutora=e.codigo_uniadm;
|
|
75
|
-
this.nameUnidadEjecutora=e.name_uniadm;
|
|
76
|
-
this.integrado=parseInt(e.estint);
|
|
77
|
-
this.fechaApro=e.fecapr;
|
|
78
|
-
this.fechaCon=e.feccon;
|
|
79
|
-
this.fechaAnu=e.fecanu;
|
|
80
|
-
this.usuRegistro=e.codusureg;
|
|
81
|
-
this.usuAprobacion=e.codusuapr;
|
|
82
|
-
this.usuContabilizar=e.codusucon;
|
|
83
|
-
this.usuAnulacion=e.codusuanu;
|
|
84
|
-
this.recepcion=e.recepcion;
|
|
85
|
-
this.conanu=e.conanu;
|
|
86
|
-
this.fechaesp=e.fecesp;
|
|
87
|
-
this.detalleEntrada=e.detalle_entrada.map(e=> new MDetaEntrada(e));
|
|
88
|
-
this.detalleContable=e.detalle_contable.map(e=> new MDetaContable(e));
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
public dataInterface():IEntradaSuministros{
|
|
93
|
-
return {
|
|
94
|
-
id_empresa: this.idEmpresa.toString(),
|
|
95
|
-
id_recepcion: this.idEntrada.toString(),
|
|
96
|
-
id_almacen: this.idAlmacen.toString(),
|
|
97
|
-
nomfisalm: this.NameAlmacen,
|
|
98
|
-
sc_cuenta: this.cuentaContableES,
|
|
99
|
-
name_sc_cta: this.nameCuentaContable,
|
|
100
|
-
codalm: this.codigoAlmacen,
|
|
101
|
-
id_proveedor: this.idProveedor.toString(),
|
|
102
|
-
name_proveedor: this.NameProveedor,
|
|
103
|
-
rifpro: this.rifPro,
|
|
104
|
-
numordfac: this.codigoDocumentoEntrada,
|
|
105
|
-
codrec: this.codigo,
|
|
106
|
-
numlote: this.numeroLote,
|
|
107
|
-
fecrec: this.fechaRegistro,
|
|
108
|
-
obsrec: this.observacion,
|
|
109
|
-
tipentrec: this.tipoEntrega,
|
|
110
|
-
estprodoc: this.tipoEntrada.toString(),
|
|
111
|
-
tipodoc: this.tipodoc,
|
|
112
|
-
estrec: this.estatusEntrada.toString(),
|
|
113
|
-
estapr: this.aprobado.toString(),
|
|
114
|
-
estafe: this.afectacion.toString(),
|
|
115
|
-
codcencos: this.centroCosto,
|
|
116
|
-
name_cencos: this.nameCencos,
|
|
117
|
-
id_uniadm: this.idUnidadEjecutora.toString(),
|
|
118
|
-
codigo_uniadm: this.codigoUnidadEjecutora,
|
|
119
|
-
name_uniadm: this.nameUnidadEjecutora,
|
|
120
|
-
estint: this.integrado.toString(),
|
|
121
|
-
fecapr: this.fechaApro,
|
|
122
|
-
feccon: this.fechaCon,
|
|
123
|
-
fecanu: this.fechaAnu,
|
|
124
|
-
codusureg: this.usuRegistro,
|
|
125
|
-
codusuapr: this.usuAprobacion,
|
|
126
|
-
codusucon: this.usuContabilizar,
|
|
127
|
-
codusuanu: this.usuAnulacion,
|
|
128
|
-
recepcion:this.recepcion,
|
|
129
|
-
conanu: this.conanu,
|
|
130
|
-
fecesp: this.fechaesp,
|
|
131
|
-
detalle_entrada: this.detalleEntrada.map(function (e) { return e.dataInterface(); }),
|
|
132
|
-
detalle_contable: this.detalleContable.map(function (e) { return e.dataInterface(); }),
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ITipoDepositos } from "../../interfaces/ITipoDepositos";
|
|
2
|
-
import { MBasicModel } from '../basic-model.model';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class MTipoDepositos extends MBasicModel {
|
|
6
|
-
public idEmpresa: number=0;
|
|
7
|
-
public idTipoDeposito: number=0;
|
|
8
|
-
public codigoTipoDeposito:string='';
|
|
9
|
-
public denominacionTipoDeposito:string='';
|
|
10
|
-
public idDeposito: number=0;
|
|
11
|
-
public codigoDeposito:string='';
|
|
12
|
-
public reservado: number=0;
|
|
13
|
-
public existencia: number=0;
|
|
14
|
-
public idCentroLogistico:number=0;
|
|
15
|
-
public codigoCentroLogistico: string='';
|
|
16
|
-
public denominacionCentroLogistico: string='';
|
|
17
|
-
public idAlmacen:number=0;
|
|
18
|
-
public codigoAlmacen:string='';
|
|
19
|
-
public nombreAlmacen:string='';
|
|
20
|
-
public relacion:string='';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
constructor (e?:ITipoDepositos) {
|
|
24
|
-
super();
|
|
25
|
-
if (e){
|
|
26
|
-
this.idEmpresa=parseInt(e.id_empresa);
|
|
27
|
-
this.idTipoDeposito=parseInt(e.id_tipoalmacen);
|
|
28
|
-
this.codigoTipoDeposito=e.codtipalm;
|
|
29
|
-
this.idDeposito=parseInt(e.id_deposito);
|
|
30
|
-
this.idCentroLogistico=parseInt(e.id_cenlog);
|
|
31
|
-
this.codigoCentroLogistico=e.codcenlog;
|
|
32
|
-
this.denominacionCentroLogistico=e.dencenlog;
|
|
33
|
-
this.codigoDeposito=e.coddep;
|
|
34
|
-
this.denominacionTipoDeposito=e.dentipalm;
|
|
35
|
-
this.idAlmacen=parseInt(e.id_almacen);
|
|
36
|
-
this.codigoAlmacen=e.codalm;
|
|
37
|
-
this.nombreAlmacen=e.nomfisalm;
|
|
38
|
-
this.relacion=e.relacion;
|
|
39
|
-
this.existencia=+e.existencia;
|
|
40
|
-
this.reservado=+e.reservado;
|
|
41
|
-
} else{
|
|
42
|
-
this.isNew=true;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
public dataInterface():ITipoDepositos{
|
|
47
|
-
return {
|
|
48
|
-
id_empresa: this.idEmpresa.toString(),
|
|
49
|
-
id_tipoalmacen: this.idTipoDeposito.toString(),
|
|
50
|
-
codtipalm: this.codigoTipoDeposito,
|
|
51
|
-
dentipalm: this.denominacionTipoDeposito,
|
|
52
|
-
existencia: this.existencia.toString(),
|
|
53
|
-
reservado: this.reservado.toString(),
|
|
54
|
-
id_cenlog: this.idCentroLogistico.toString(),
|
|
55
|
-
codcenlog: this.codigoCentroLogistico,
|
|
56
|
-
dencenlog: this.denominacionCentroLogistico,
|
|
57
|
-
id_deposito: this.idDeposito.toString(),
|
|
58
|
-
coddep: this.codigoDeposito,
|
|
59
|
-
id_almacen: this.idAlmacen.toString(),
|
|
60
|
-
codalm: this.codigoAlmacen,
|
|
61
|
-
nomfisalm: this.nombreAlmacen,
|
|
62
|
-
relacion: this.relacion,
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { MBasicModel } from '../basic-model.model';
|
|
2
|
-
import { IAnticipoPrestacion } from "../../interfaces/RecursosHumanos";
|
|
3
|
-
|
|
4
|
-
export class MAnticipoPrestaciones extends MBasicModel {
|
|
5
|
-
public idEnterprise:number=0;
|
|
6
|
-
public idEmpresa:number=0;
|
|
7
|
-
public idPersonal:number=0;
|
|
8
|
-
public idAnticipo:number=0;
|
|
9
|
-
public codigoAntiguedad:string='';
|
|
10
|
-
public estatusAnticipo:number=1;
|
|
11
|
-
public fechaAnticipo:string='0';
|
|
12
|
-
public montoPrestacionAntiguedad:number=0;
|
|
13
|
-
public montoInteresAntigueada:number=0;
|
|
14
|
-
public montoAnteriorAntiguedad:number=0;
|
|
15
|
-
public montoAnteriorInteres:number=0;
|
|
16
|
-
public porcentajeAntiguedad:number=0;
|
|
17
|
-
public porcentajeInteres: number=0;
|
|
18
|
-
public montoAnticipo:number=0;
|
|
19
|
-
public montoInteres:number=0;
|
|
20
|
-
public motivoAnticipo:string='';
|
|
21
|
-
public observacionAnticipo:string='';
|
|
22
|
-
public codigoUsuario:string='';
|
|
23
|
-
public montoMaximoAntiguedad:number=0;
|
|
24
|
-
public montoMaximoInteres:number=0;
|
|
25
|
-
public denominacionEstatus:string='';
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
constructor(e?:IAnticipoPrestacion){
|
|
29
|
-
super();
|
|
30
|
-
if(e) {
|
|
31
|
-
this.idEnterprise=+e.id_enterprise;
|
|
32
|
-
this.idEmpresa=+e.id_empresa
|
|
33
|
-
this.idPersonal=+e.id_personal
|
|
34
|
-
this.idAnticipo=+e.id_anticipops
|
|
35
|
-
this.codigoAntiguedad =e.codant
|
|
36
|
-
this.estatusAnticipo =+e.estant
|
|
37
|
-
this.fechaAnticipo=e.fecant
|
|
38
|
-
this.montoPrestacionAntiguedad=+e.monpreant
|
|
39
|
-
this.montoInteresAntigueada=+e.monintant
|
|
40
|
-
this.montoAnteriorAntiguedad =+e.monantant
|
|
41
|
-
this.montoAnteriorInteres=+e.monantint
|
|
42
|
-
this.porcentajeAntiguedad=+e.porant
|
|
43
|
-
this.porcentajeInteres=+e.porint
|
|
44
|
-
this.montoAnticipo=+e.monant
|
|
45
|
-
this.montoInteres=+e.monint
|
|
46
|
-
this.motivoAnticipo=e.motant
|
|
47
|
-
this.observacionAnticipo=e.obsant
|
|
48
|
-
this.codigoUsuario=e.codusu
|
|
49
|
-
this.estatus();
|
|
50
|
-
this.calcularAntiguedad();
|
|
51
|
-
this.calcularInteres();
|
|
52
|
-
} else {
|
|
53
|
-
this.isNew=true;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
public dataInterface():IAnticipoPrestacion{
|
|
59
|
-
return {
|
|
60
|
-
id_enterprise:this.idEnterprise.toString(),
|
|
61
|
-
id_empresa :this.idEmpresa,
|
|
62
|
-
id_personal :this.idPersonal,
|
|
63
|
-
id_anticipops :this.idAnticipo,
|
|
64
|
-
codant :this.codigoAntiguedad ,
|
|
65
|
-
estant :this.estatusAnticipo ,
|
|
66
|
-
fecant:this.fechaAnticipo,
|
|
67
|
-
monpreant:this.montoPrestacionAntiguedad,
|
|
68
|
-
monintant :this.montoInteresAntigueada,
|
|
69
|
-
monantant :this.montoAnteriorAntiguedad ,
|
|
70
|
-
monantint :this.montoAnteriorInteres,
|
|
71
|
-
porant :this.porcentajeAntiguedad,
|
|
72
|
-
porint: this.porcentajeInteres,
|
|
73
|
-
monant:this.montoAnticipo,
|
|
74
|
-
monint :this.montoInteres,
|
|
75
|
-
motant :this.motivoAnticipo,
|
|
76
|
-
obsant :this.observacionAnticipo,
|
|
77
|
-
codusu:this.codigoUsuario,
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
//montos maximos a solicitar
|
|
81
|
-
public calcularAntiguedad(){
|
|
82
|
-
this.montoMaximoAntiguedad=this.montoPrestacionAntiguedad-this.montoAnteriorAntiguedad
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
public calcularInteres(){
|
|
86
|
-
this.montoMaximoInteres=this.montoInteresAntigueada-this.montoAnteriorInteres
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
public calcularPorcentajeAntiguedad(){
|
|
91
|
-
this.montoAnticipo=this.montoMaximoAntiguedad*(this.porcentajeAntiguedad/100)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
public calcularPorcentajeInteres(){
|
|
95
|
-
this.montoInteres=this.montoMaximoInteres*(this.porcentajeInteres/100)
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public estatus(){
|
|
99
|
-
if (this.estatusAnticipo==1){
|
|
100
|
-
this.denominacionEstatus="EMITIDO"
|
|
101
|
-
} else if (this.estatusAnticipo==2){
|
|
102
|
-
this.denominacionEstatus="APROBADO"
|
|
103
|
-
} else if (this.estatusAnticipo==3){
|
|
104
|
-
this.denominacionEstatus="CONTABILIZADO"
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { MBasicModel } from '../basic-model.model';
|
|
2
|
-
import { IArchivoTxtCampos } from '../../interfaces/RecursosHumanos';
|
|
3
|
-
|
|
4
|
-
export class MArchivoTxtCampo extends MBasicModel{
|
|
5
|
-
public idEnterprise:number=0;
|
|
6
|
-
public idEmpresa:number=0;
|
|
7
|
-
public idArchivoTxt: number=0;
|
|
8
|
-
public codigoCampo: number=0;
|
|
9
|
-
public descripcionCampo: string='';
|
|
10
|
-
public inicioCampo: string='';
|
|
11
|
-
public longitudCampo: string='';
|
|
12
|
-
public editableCampo: string='N';
|
|
13
|
-
public claveCampo: string='N';
|
|
14
|
-
public actualizarCampo: string='N';
|
|
15
|
-
public criteroCampo: string='';
|
|
16
|
-
public tablaRelacionCampo: string='';
|
|
17
|
-
public itemRelacionCampo: string='informativo';
|
|
18
|
-
public tipoCampo: string='';
|
|
19
|
-
public idDtCampo: number=0;
|
|
20
|
-
|
|
21
|
-
constructor(e?:IArchivoTxtCampos){
|
|
22
|
-
super();
|
|
23
|
-
if (e){
|
|
24
|
-
this.idEnterprise=+e.id_enterprise;
|
|
25
|
-
this.idEmpresa=+e.id_empresa
|
|
26
|
-
this.idArchivoTxt= parseInt(e.id_archivotxt);
|
|
27
|
-
this.codigoCampo= parseInt(e.codcam);
|
|
28
|
-
this.descripcionCampo= e.descam;
|
|
29
|
-
this.inicioCampo= e.inicam;
|
|
30
|
-
this.longitudCampo= e.loncam;
|
|
31
|
-
this.editableCampo= e.edicam;
|
|
32
|
-
this.claveCampo= e.clacam;
|
|
33
|
-
this.actualizarCampo= e.actcam;
|
|
34
|
-
this.criteroCampo= e.cricam;
|
|
35
|
-
this.tablaRelacionCampo= e.tabrelcam;
|
|
36
|
-
this.itemRelacionCampo= e.iterelcam;
|
|
37
|
-
this.tipoCampo= e.tipcam;
|
|
38
|
-
this.idDtCampo= parseInt(e.id_dt_campo);
|
|
39
|
-
} else {
|
|
40
|
-
this.isNew=true;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
public dataInterface():IArchivoTxtCampos {
|
|
45
|
-
return{
|
|
46
|
-
id_enterprise:this.idEnterprise.toString(),
|
|
47
|
-
id_empresa :this.idEmpresa,
|
|
48
|
-
id_archivotxt:this.idArchivoTxt.toString(),
|
|
49
|
-
codcam: this.codigoCampo.toString(),
|
|
50
|
-
descam: this.descripcionCampo,
|
|
51
|
-
inicam: this.inicioCampo,
|
|
52
|
-
loncam: this.longitudCampo,
|
|
53
|
-
edicam: this.editableCampo,
|
|
54
|
-
clacam: this.claveCampo,
|
|
55
|
-
actcam: this.actualizarCampo,
|
|
56
|
-
cricam: this.criteroCampo,
|
|
57
|
-
tabrelcam: this.tablaRelacionCampo,
|
|
58
|
-
iterelcam: this.itemRelacionCampo,
|
|
59
|
-
tipcam: this.tipoCampo,
|
|
60
|
-
id_dt_campo: this.idDtCampo.toString(),
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { MBasicModel } from "../basic-model.model";
|
|
2
|
-
import { IArchivoTxt } from "../../interfaces/RecursosHumanos";
|
|
3
|
-
import { MArchivoTxtCampo } from "./MArchivoTxtCampo.model";
|
|
4
|
-
|
|
5
|
-
export class MArchivosTxt extends MBasicModel {
|
|
6
|
-
public idEnterprise:number=0;
|
|
7
|
-
public idEmpresa:number=0;
|
|
8
|
-
public idArchivoTxt:number=0;
|
|
9
|
-
public codigoArchivo:string='';
|
|
10
|
-
public denominacionArchivo :string='';
|
|
11
|
-
public tipoArchivo:string='I';
|
|
12
|
-
public acumularMonto:boolean=false;
|
|
13
|
-
public campos: MArchivoTxtCampo[]=[];
|
|
14
|
-
|
|
15
|
-
constructor (e?:IArchivoTxt) {
|
|
16
|
-
super();
|
|
17
|
-
if (e){
|
|
18
|
-
e.acumon=='1'? this.acumularMonto= true:this.acumularMonto= false;
|
|
19
|
-
this.idEnterprise=+e.id_enterprise;
|
|
20
|
-
this.idEmpresa=+e.id_empresa;
|
|
21
|
-
this.idArchivoTxt= parseInt(e.id_archivotxt);
|
|
22
|
-
this.codigoArchivo= e.codarch;
|
|
23
|
-
this.denominacionArchivo= e.denarch;
|
|
24
|
-
this.tipoArchivo= e.tiparch
|
|
25
|
-
this.campos=e.campos.map(e=> new MArchivoTxtCampo(e));
|
|
26
|
-
} else {
|
|
27
|
-
this.isNew=true;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
public dataInterface():IArchivoTxt{
|
|
32
|
-
return {
|
|
33
|
-
id_enterprise:this.idEnterprise.toString(),
|
|
34
|
-
id_empresa :this.idEmpresa,
|
|
35
|
-
id_archivotxt:this.idArchivoTxt.toString(),
|
|
36
|
-
codarch:this.codigoArchivo,
|
|
37
|
-
denarch :this.denominacionArchivo,
|
|
38
|
-
tiparch:this.tipoArchivo,
|
|
39
|
-
acumon:this.acumularMonto? '1':'0',
|
|
40
|
-
campos: this.campos.map(function (e) { return e.dataInterface(); }),
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import { IAsignacionCargo, ICargoNomina, ICargoOrganigrama } from '../../interfaces/Nomina';
|
|
2
|
-
import { MBasicModel } from '../basic-model.model';
|
|
3
|
-
|
|
4
|
-
export class MAsignacionCargo extends MBasicModel {
|
|
5
|
-
public idEnterprise:number=0;
|
|
6
|
-
public idEmpresa:number=0;
|
|
7
|
-
public idAsignacionCargo: number=0;
|
|
8
|
-
public codigoAsignacionCargo: string='';
|
|
9
|
-
public denominacionAsignacionCargo: string='';
|
|
10
|
-
public idEp1: number=0;
|
|
11
|
-
public idEp2: number=0;
|
|
12
|
-
public idEp3: number=0;
|
|
13
|
-
public idEp4: number=0;
|
|
14
|
-
public idEp5: number=0;
|
|
15
|
-
public codigoEstructura: string='';
|
|
16
|
-
public denominacionEstructura: string='';
|
|
17
|
-
public claseCargo: string='';
|
|
18
|
-
public idDedicacion: number=0;
|
|
19
|
-
public codigoDedicacion: string='';
|
|
20
|
-
public denominacionDedicacion: string='';
|
|
21
|
-
public idTipoPersonal: number=0;
|
|
22
|
-
public codigoTipoPersonal: string='';
|
|
23
|
-
public denominacionTipoPersonal: string='';
|
|
24
|
-
public idTabulador: number=0;
|
|
25
|
-
public codigoTabulador: string='';
|
|
26
|
-
public denominacionTabulador: string='';
|
|
27
|
-
public codigoGrado: string='';
|
|
28
|
-
public codigoPaso: string='';
|
|
29
|
-
public salario: number=0;
|
|
30
|
-
public compensacion: number=0;
|
|
31
|
-
public totalCargos: number=0;
|
|
32
|
-
public numeroCargosOcupados: number=0;
|
|
33
|
-
public disponibilidadCargos: number=0;
|
|
34
|
-
public detallesNominas: MCargosNominas[]=[];
|
|
35
|
-
public nominaEliminar: number[]=[];
|
|
36
|
-
public detallesOrganigrama: MCargoEstructuraOrganizativa[]=[];
|
|
37
|
-
public organigramaEliminar: number[]=[];
|
|
38
|
-
|
|
39
|
-
constructor (e?:IAsignacionCargo){
|
|
40
|
-
super();
|
|
41
|
-
if (e){
|
|
42
|
-
this.idEnterprise=+e.id_enterprise;
|
|
43
|
-
this.idEmpresa=+e.id_empresa
|
|
44
|
-
this.idAsignacionCargo=parseInt(e.id_carper);
|
|
45
|
-
this.codigoAsignacionCargo=e.codcar;
|
|
46
|
-
this.denominacionAsignacionCargo=e.descar;
|
|
47
|
-
this.idEp1=parseInt(e.id_ep1);
|
|
48
|
-
this.idEp2=parseInt(e.id_ep2);
|
|
49
|
-
this.idEp3=parseInt(e.id_ep3);
|
|
50
|
-
this.idEp4=parseInt(e.id_ep4);
|
|
51
|
-
this.idEp5=parseInt(e.id_ep5);
|
|
52
|
-
this.codigoEstructura=e.codigo_estructura;
|
|
53
|
-
this.denominacionEstructura=e.denominacion_estructura;
|
|
54
|
-
this.claseCargo=e.clacar;
|
|
55
|
-
this.idDedicacion=parseInt(e.id_dedicacion);
|
|
56
|
-
this.codigoDedicacion=e.codded;
|
|
57
|
-
this.denominacionDedicacion=e.dended;
|
|
58
|
-
this.idTipoPersonal=parseInt(e.id_tipopersonal);
|
|
59
|
-
this.codigoTipoPersonal=e.codtipper;
|
|
60
|
-
this.denominacionTipoPersonal=e.dentipper;
|
|
61
|
-
this.idTabulador=parseInt(e.id_tabulador);
|
|
62
|
-
this.codigoTabulador=e.codtab;
|
|
63
|
-
this.denominacionTabulador=e.destab;
|
|
64
|
-
this.codigoGrado=e.codgra;
|
|
65
|
-
this.codigoPaso=e.codpas;
|
|
66
|
-
this.salario=parseInt(e.monsalgra);
|
|
67
|
-
this.compensacion=parseInt(e.moncomgra);
|
|
68
|
-
this.totalCargos=parseInt(e.totcar);
|
|
69
|
-
this.numeroCargosOcupados=parseInt(e.numocucar);
|
|
70
|
-
this.disponibilidadCargos=parseInt(e.disponibilidad);
|
|
71
|
-
if(e.detalles_nomina){
|
|
72
|
-
this.detallesNominas=e.detalles_nomina.map(e=> new MCargosNominas(e));
|
|
73
|
-
}
|
|
74
|
-
if(e.detalles_organigrama){
|
|
75
|
-
this.detallesOrganigrama=e.detalles_organigrama.map(e=> new MCargoEstructuraOrganizativa(e));
|
|
76
|
-
}
|
|
77
|
-
} else {
|
|
78
|
-
this.isNew=true;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
public dataInterface():IAsignacionCargo{
|
|
83
|
-
return {
|
|
84
|
-
id_enterprise:this.idEnterprise.toString(),
|
|
85
|
-
id_empresa :this.idEmpresa,
|
|
86
|
-
id_carper:this.idAsignacionCargo.toString(),
|
|
87
|
-
codcar:this.codigoAsignacionCargo,
|
|
88
|
-
descar:this.denominacionAsignacionCargo,
|
|
89
|
-
id_ep1:this.idEp1.toString(),
|
|
90
|
-
id_ep2:this.idEp2.toString(),
|
|
91
|
-
id_ep3:this.idEp3.toString(),
|
|
92
|
-
id_ep4:this.idEp4.toString(),
|
|
93
|
-
id_ep5:this.idEp5.toString(),
|
|
94
|
-
clacar:this.claseCargo,
|
|
95
|
-
id_dedicacion:this.idDedicacion.toString(),
|
|
96
|
-
id_tipopersonal:this.idTipoPersonal.toString(),
|
|
97
|
-
id_tabulador:this.idTabulador.toString(),
|
|
98
|
-
codgra:this.codigoGrado,
|
|
99
|
-
codpas:this.codigoPaso,
|
|
100
|
-
totcar:this.totalCargos.toString(),
|
|
101
|
-
numocucar:this.numeroCargosOcupados.toString(),
|
|
102
|
-
detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
|
|
103
|
-
detalles_organigrama:this.detallesOrganigrama.map(function (e){ return e.dataInterface(); }),
|
|
104
|
-
eliminar_nomina:this.nominaEliminar,
|
|
105
|
-
eliminar_organigrama:this.organigramaEliminar,
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
111
|
-
public idEmpresa:number=0;
|
|
112
|
-
public idCargoPersonal:number=0;
|
|
113
|
-
public codigoCargo:string='';
|
|
114
|
-
public descripcionCargo:string='';
|
|
115
|
-
public idOrganigrama:number=0;
|
|
116
|
-
public idDtCargoEstructura:number=0;
|
|
117
|
-
public idPersonal:number=0;
|
|
118
|
-
public codigoEstructuraOrganizativa:string='';
|
|
119
|
-
public denominacionEstructuraOrganizativa:string='';
|
|
120
|
-
public cogigoUnidadOrganizativa:string='';
|
|
121
|
-
public denominacionUnidadOrganizativa:string='';
|
|
122
|
-
public codigoEstructuraPresupuestaria:string='';
|
|
123
|
-
public codigoCentroCosto:string='';
|
|
124
|
-
public dnominacionCentroCosto:string='';
|
|
125
|
-
|
|
126
|
-
public nivel: number =0;
|
|
127
|
-
|
|
128
|
-
constructor (e:ICargoOrganigrama=null) {
|
|
129
|
-
super();
|
|
130
|
-
if (e){
|
|
131
|
-
this.idEmpresa=parseInt(e.id_empresa);
|
|
132
|
-
this.idCargoPersonal=parseInt(e.id_carper);
|
|
133
|
-
this.idOrganigrama=parseInt(e.id_organigrama);
|
|
134
|
-
this.codigoEstructuraOrganizativa=e.codestorg;
|
|
135
|
-
this.codigoCargo=e.codcar;
|
|
136
|
-
this.descripcionCargo=e.descar;
|
|
137
|
-
this.denominacionEstructuraOrganizativa=e.denestorg;
|
|
138
|
-
this.idPersonal=parseInt(e.id_personal);
|
|
139
|
-
this.nivel=parseInt(e.nivel);
|
|
140
|
-
this.codigoEstructuraPresupuestaria=e.codigo_estructura;
|
|
141
|
-
this.codigoCentroCosto=e.codcencos;
|
|
142
|
-
this.dnominacionCentroCosto=e.denominacion;
|
|
143
|
-
this.idDtCargoEstructura=parseInt(e.id_dt);
|
|
144
|
-
this.cogigoUnidadOrganizativa=e.coduniadm;
|
|
145
|
-
this.denominacionUnidadOrganizativa=e.denuniadm;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
} else {
|
|
149
|
-
this.isNew=true;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
public dataInterface():ICargoOrganigrama {
|
|
154
|
-
return {
|
|
155
|
-
id_empresa: this.idEmpresa.toString(),
|
|
156
|
-
id_carper:this.idCargoPersonal.toString(),
|
|
157
|
-
id_organigrama:this.idOrganigrama.toString(),
|
|
158
|
-
id_dt:this.idDtCargoEstructura.toString(),
|
|
159
|
-
id_personal:this.idPersonal.toString(),
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export class MCargosNominas extends MBasicModel{
|
|
166
|
-
public idEmpresa: number=0;
|
|
167
|
-
public idNomina: number=0;
|
|
168
|
-
public idCargo:number=0;
|
|
169
|
-
public codigoNomina: string='';
|
|
170
|
-
public denominacionNomina: string='';
|
|
171
|
-
public estatus: string='';
|
|
172
|
-
public idDtNomina: number=0;
|
|
173
|
-
public periodoActualNomina:string='001';
|
|
174
|
-
public idPeriodoActual:number=0;
|
|
175
|
-
public nominaRac:number=0;
|
|
176
|
-
public descripcionPeriodoNomina:string='';
|
|
177
|
-
public prenomina:boolean=false;
|
|
178
|
-
public editables:boolean=false;
|
|
179
|
-
public calculada:boolean=false;
|
|
180
|
-
public idOrganigrama:number=0;
|
|
181
|
-
public codigoEstructuraOrganizativa:string='';
|
|
182
|
-
public denominacionEstructuraOrganizativa:string='';
|
|
183
|
-
|
|
184
|
-
constructor (e:ICargoNomina=null) {
|
|
185
|
-
super();
|
|
186
|
-
if (e){
|
|
187
|
-
this.idEmpresa=parseInt(e.id_empresa);
|
|
188
|
-
this.idNomina=parseInt(e.id_nomina);
|
|
189
|
-
this.idCargo=parseInt(e.id_carper);
|
|
190
|
-
this.codigoNomina=e.codnom;
|
|
191
|
-
this.denominacionNomina=e.dennom;
|
|
192
|
-
this.idDtNomina=parseInt(e.id_dt_carnom);
|
|
193
|
-
this.periodoActualNomina=e.peractnom;
|
|
194
|
-
(e.calculado)? this.calculada=parseInt(e.calculado)>0? true:false:this.calculada=false;
|
|
195
|
-
(e.prenomina)? this.prenomina=parseInt(e.prenomina)>0? true:false:this.prenomina=false;
|
|
196
|
-
this.estatus=this.calculada ? 'Calculada':
|
|
197
|
-
!this.calculada && this.prenomina ? 'Pre-Calculada': 'Sin Calcular'
|
|
198
|
-
this.editables=(this.calculada||this.prenomina)? false:true;
|
|
199
|
-
this.idOrganigrama=+e.id_organigrama;
|
|
200
|
-
this.codigoEstructuraOrganizativa=e.codestorg;
|
|
201
|
-
this.denominacionEstructuraOrganizativa=e.denestorg;
|
|
202
|
-
|
|
203
|
-
} else {
|
|
204
|
-
this.isNew=true;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
public dataInterface():ICargoNomina{
|
|
209
|
-
return {
|
|
210
|
-
id_empresa: this.idEmpresa.toString(),
|
|
211
|
-
id_nomina: this.idNomina.toString(),
|
|
212
|
-
id_carper:this.idCargo.toString(),
|
|
213
|
-
id_dt_carnom: this.idDtNomina.toString(),
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
}
|
|
218
|
-
|