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,118 @@
|
|
|
1
|
+
import { Timestamp } from "rxjs/internal/operators/timestamp";
|
|
2
|
+
|
|
3
|
+
export interface IConfigSSS{
|
|
4
|
+
id_empresa: string,
|
|
5
|
+
id_sss: string,
|
|
6
|
+
tiemaxesp: string,
|
|
7
|
+
nromaxclvinv: string,
|
|
8
|
+
blousuclvinv: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface IUserDetail{
|
|
12
|
+
id_usuario: string,
|
|
13
|
+
id_enterprise:string,
|
|
14
|
+
apeusu: string,
|
|
15
|
+
cedusu: string,
|
|
16
|
+
codusu: string,
|
|
17
|
+
emausu: string,
|
|
18
|
+
estusu: string,
|
|
19
|
+
fecblousu: string,
|
|
20
|
+
feccampwd: string,
|
|
21
|
+
fecnac: string,
|
|
22
|
+
fecregusu: string,
|
|
23
|
+
fotusu: string,
|
|
24
|
+
id_empresa: string,
|
|
25
|
+
nomusu: string,
|
|
26
|
+
obsusu: string,
|
|
27
|
+
pwdusu: string,
|
|
28
|
+
telusu: string,
|
|
29
|
+
usuadm: string,
|
|
30
|
+
derechos?: IRights[]
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface IGroup{
|
|
34
|
+
id_empresa: string,
|
|
35
|
+
id_grupo: string,
|
|
36
|
+
codgru: string,
|
|
37
|
+
nomgru: string,
|
|
38
|
+
estgru: string,
|
|
39
|
+
obsgru: string,
|
|
40
|
+
usuarios: IUserDetail[],
|
|
41
|
+
eliminados?: IUserDetail[],
|
|
42
|
+
derechos?: IRights[]
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface IComponent{
|
|
46
|
+
id_component: string,
|
|
47
|
+
codsis: string,
|
|
48
|
+
nomcom: string,
|
|
49
|
+
nomintcom: string,
|
|
50
|
+
url: string,
|
|
51
|
+
tipo: string,
|
|
52
|
+
icono: string,
|
|
53
|
+
orden: string,
|
|
54
|
+
id_padre: string,
|
|
55
|
+
children: IComponent[],
|
|
56
|
+
new?: string
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface IRights{
|
|
60
|
+
id_empresa: string | number,
|
|
61
|
+
id_usuario?: string | number,
|
|
62
|
+
id_grupo?: string | number,
|
|
63
|
+
id_component: string | number,
|
|
64
|
+
codsis: string,
|
|
65
|
+
codusu?: string,
|
|
66
|
+
administrador: string | number,
|
|
67
|
+
insertar: string | number,
|
|
68
|
+
actualizar: string | number,
|
|
69
|
+
consultar: string | number,
|
|
70
|
+
eliminar: string | number,
|
|
71
|
+
anular: string | number,
|
|
72
|
+
descargar: string | number,
|
|
73
|
+
ejecutar__procesar_: string | number,
|
|
74
|
+
enviar__correo_: string | number,
|
|
75
|
+
imprimir: string | number,
|
|
76
|
+
visible: string | number,
|
|
77
|
+
aprobar: string | number,
|
|
78
|
+
revaprobar: string | number,
|
|
79
|
+
anular_sc: string | number,
|
|
80
|
+
revanular_sc :string | number,
|
|
81
|
+
contabilizar: string | number,
|
|
82
|
+
revcontabilizar: string | number,
|
|
83
|
+
anular_c: string | number,
|
|
84
|
+
revanular_c: string | number,
|
|
85
|
+
children: IRights[],
|
|
86
|
+
icono: string,
|
|
87
|
+
id: string | number,
|
|
88
|
+
nomcom: string,
|
|
89
|
+
id_padre: string | number,
|
|
90
|
+
isNew?: string | number
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface IUserPermit{
|
|
94
|
+
codsis: string,
|
|
95
|
+
codintper: string,
|
|
96
|
+
activo: string,
|
|
97
|
+
id_permiso: string,
|
|
98
|
+
id_usuario: string,
|
|
99
|
+
nomusu: string,
|
|
100
|
+
apeusu: string,
|
|
101
|
+
codusu: string,
|
|
102
|
+
descripcion: string,
|
|
103
|
+
id_record: string,
|
|
104
|
+
isNew?: string
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface ILog{
|
|
108
|
+
id_usuario : number,
|
|
109
|
+
id_component : number,
|
|
110
|
+
codsis: string,
|
|
111
|
+
evento: string,
|
|
112
|
+
deslog: string,
|
|
113
|
+
equlog: string,
|
|
114
|
+
fecsys?: string,
|
|
115
|
+
feclog?: string,
|
|
116
|
+
id_empresa?: number,
|
|
117
|
+
id_log?: string
|
|
118
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
|
|
2
|
+
export interface IServiceType{
|
|
3
|
+
id_empresa: string,
|
|
4
|
+
id_enterprise:string,
|
|
5
|
+
id_tiposervicio: string,
|
|
6
|
+
dentipser: string,
|
|
7
|
+
obstipser: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface IService{
|
|
11
|
+
id_empresa: string,
|
|
12
|
+
id_enterprise:string,
|
|
13
|
+
id_servicio: string,
|
|
14
|
+
id_tiposervicio: string,
|
|
15
|
+
codser: string,
|
|
16
|
+
denser: string,
|
|
17
|
+
monser: string,
|
|
18
|
+
spg_cuenta: string,
|
|
19
|
+
cargos?: IServiceCharges[]
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface IClause{
|
|
23
|
+
id_empresa: string,
|
|
24
|
+
id_enterprise:string,
|
|
25
|
+
codcla: string,
|
|
26
|
+
dencla: string,
|
|
27
|
+
id_clausula: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface IConfigSOC{
|
|
31
|
+
id_empresa: string,
|
|
32
|
+
id_enterprise:string,
|
|
33
|
+
id_soc: string,
|
|
34
|
+
soc_bienes: string,
|
|
35
|
+
soc_servicios: string,
|
|
36
|
+
estmodpartsoc: string,
|
|
37
|
+
numordser: string,
|
|
38
|
+
numordcom: string,
|
|
39
|
+
estapesoc: string,
|
|
40
|
+
estaprdocsindisp: string,
|
|
41
|
+
estmulestgas: string,
|
|
42
|
+
estmuluniadm:string,
|
|
43
|
+
estmulestcar:string,
|
|
44
|
+
estmulcencos:string
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface IClauseModality{
|
|
48
|
+
id_empresa: string,
|
|
49
|
+
id_enterprise:string,
|
|
50
|
+
id_modcla: string,
|
|
51
|
+
codmodcla: string,
|
|
52
|
+
denmodcla: string,
|
|
53
|
+
clausulas: IClause[]
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface IServiceCharges {
|
|
57
|
+
id_empresa:string,
|
|
58
|
+
id_enterprise:string,
|
|
59
|
+
id_cargo:string,
|
|
60
|
+
id_servicio:string,
|
|
61
|
+
codcar:string,
|
|
62
|
+
dencar:string,
|
|
63
|
+
estcarpri:string,
|
|
64
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IUserDetail } from './Seguridad';
|
|
2
|
+
|
|
3
|
+
export interface ISistema{
|
|
4
|
+
codsis: string,
|
|
5
|
+
nomsis: string,
|
|
6
|
+
estsis: string,
|
|
7
|
+
imgsis: string,
|
|
8
|
+
usuarios: IUserDetail[],
|
|
9
|
+
eliminados?: IUserDetail[]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface IUsuarioSistema{
|
|
13
|
+
id_empresa: string,
|
|
14
|
+
id_usuario: string,
|
|
15
|
+
codsis: string,
|
|
16
|
+
nomsis: string,
|
|
17
|
+
estsis: string,
|
|
18
|
+
imgsis: string,
|
|
19
|
+
accsis: string,
|
|
20
|
+
tipsis: string,
|
|
21
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export interface IDeductionType{
|
|
2
|
+
codtipded: string,
|
|
3
|
+
destipded: string,
|
|
4
|
+
abrtipded: string,
|
|
5
|
+
id_tipded: string,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface ICargo{
|
|
9
|
+
id_empresa: string,
|
|
10
|
+
id_enterprise:string,
|
|
11
|
+
id_cargo: string,
|
|
12
|
+
codcar: string,
|
|
13
|
+
dencar: string,
|
|
14
|
+
codestpro: string,
|
|
15
|
+
porcar: string,
|
|
16
|
+
estlibcom: string,
|
|
17
|
+
formula: string,
|
|
18
|
+
estcla: string,
|
|
19
|
+
tipiva: string,
|
|
20
|
+
spg_cuenta: string,
|
|
21
|
+
spi_cuenta: string,
|
|
22
|
+
codestprospi: string,
|
|
23
|
+
estclaspi: string,
|
|
24
|
+
esttippre: string
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface IDeduction{
|
|
28
|
+
id_empresa: string,
|
|
29
|
+
id_enterprise:string,
|
|
30
|
+
id_deduccion: string,
|
|
31
|
+
codded:string,
|
|
32
|
+
id_tipded: string,
|
|
33
|
+
dended: string,
|
|
34
|
+
porded: string,
|
|
35
|
+
formula: string,
|
|
36
|
+
sc_cuenta: string,
|
|
37
|
+
deducible: string,
|
|
38
|
+
tipopers: string,
|
|
39
|
+
id_conret: string,
|
|
40
|
+
estdedaplcom: string,
|
|
41
|
+
sc_cuenta_retcli: string,
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface IConceptoRetencion{
|
|
46
|
+
id_empresa: string,
|
|
47
|
+
id_enterprise:string,
|
|
48
|
+
id_conret: string,
|
|
49
|
+
codconret: string,
|
|
50
|
+
desact: string,
|
|
51
|
+
obsconret: string,
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface ICargoAdicional{
|
|
55
|
+
id_empresa: string,
|
|
56
|
+
id_cargoadi: string,
|
|
57
|
+
codcar: string,
|
|
58
|
+
dencar: string,
|
|
59
|
+
codestpre: string,
|
|
60
|
+
porcar: string,
|
|
61
|
+
formula: string,
|
|
62
|
+
tipo: string,
|
|
63
|
+
cuenta: string,
|
|
64
|
+
id_ep1:string,
|
|
65
|
+
id_ep2:string,
|
|
66
|
+
id_ep3:string,
|
|
67
|
+
id_ep4:string,
|
|
68
|
+
id_ep5:string,
|
|
69
|
+
dencuenta:string,
|
|
70
|
+
id_uniadm:string,
|
|
71
|
+
codcencos:string,
|
|
72
|
+
codfuefin:string,
|
|
73
|
+
coduniadm?:string,
|
|
74
|
+
denuniadm?:string,
|
|
75
|
+
denfuefin?:string;
|
|
76
|
+
codigoftefin?:string,
|
|
77
|
+
dencencos?:string,
|
|
78
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface IConexion {
|
|
2
|
+
servidor: string,
|
|
3
|
+
usuario: IUsuario
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface IUsuario {
|
|
7
|
+
id_enterprise:string,
|
|
8
|
+
nombre: string,
|
|
9
|
+
apellido: string,
|
|
10
|
+
conexionDB: IConexionDB,
|
|
11
|
+
empresa: IEmpresa,
|
|
12
|
+
token: string,
|
|
13
|
+
foto: string,
|
|
14
|
+
id_usuario: string,
|
|
15
|
+
procede?: string,
|
|
16
|
+
codsis?: string,
|
|
17
|
+
nomina?:string,
|
|
18
|
+
periodo?:string,
|
|
19
|
+
carpeta?:string,
|
|
20
|
+
sistema?:string,
|
|
21
|
+
fuente?:string,
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IConexionDB {
|
|
25
|
+
baseDeDatos: string,
|
|
26
|
+
baseDeDatosHR: string,
|
|
27
|
+
baseDeDatosMig: string,
|
|
28
|
+
gestor: string,
|
|
29
|
+
login: string,
|
|
30
|
+
nombre: string,
|
|
31
|
+
password: string,
|
|
32
|
+
puerto: string,
|
|
33
|
+
servidor: string
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface IEmpresa {
|
|
37
|
+
id: number,
|
|
38
|
+
periodoFiscal: string,
|
|
39
|
+
finPeriodoFiscal:string,
|
|
40
|
+
titulo: string
|
|
41
|
+
presupuesto?:string,
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface ModuleTab{
|
|
45
|
+
name: string,
|
|
46
|
+
win: Window,
|
|
47
|
+
href: string
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface ModuleTabRoute{
|
|
51
|
+
name: string,
|
|
52
|
+
icon?: string,
|
|
53
|
+
url: string,
|
|
54
|
+
href?: string,
|
|
55
|
+
children?: ModuleTabRoute[]
|
|
56
|
+
externalLink?: boolean
|
|
57
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { IEmpresa } from '../../interfaces/Configuracion';
|
|
2
|
+
import { MBasicModel } from '../basic-model.model';
|
|
3
|
+
|
|
4
|
+
export class MEmpresa extends MBasicModel{
|
|
5
|
+
public idEmpresa:number=0;
|
|
6
|
+
public rif:string='';
|
|
7
|
+
public nit:string='';
|
|
8
|
+
public nombre:string='';
|
|
9
|
+
public titulo:string='';
|
|
10
|
+
public direccion:string='';
|
|
11
|
+
public telefono:string='';
|
|
12
|
+
public fax:string='';
|
|
13
|
+
public email:string='';
|
|
14
|
+
public paginaWeb:string='';
|
|
15
|
+
public CIIU:string='';
|
|
16
|
+
public numeroLicencia:string='';
|
|
17
|
+
public codigoPostal:string='';
|
|
18
|
+
public codigoPais:string='';
|
|
19
|
+
public codigoEstado:string='';
|
|
20
|
+
public codigoMunicipio:string='';
|
|
21
|
+
public codigoParroquia:string='';
|
|
22
|
+
public codigoComunidad:string='';
|
|
23
|
+
public codigoMoneda:string='';
|
|
24
|
+
public nombreRepresentanteLegal:string='';
|
|
25
|
+
public cedulaRepresentanteLegal:string='';
|
|
26
|
+
public telefonoRepresentanteLegal:string='';
|
|
27
|
+
public carreraRepresentanteLegal:string='';
|
|
28
|
+
public telefonoOficinaRepresentanteLegal:string='';
|
|
29
|
+
public periodoFiscal:string='';
|
|
30
|
+
public numeroSeguroSocial:string='';
|
|
31
|
+
public estatusPresupuesto:boolean=false;
|
|
32
|
+
public descripcionPais:string='';
|
|
33
|
+
public descripcionEstado:string='';
|
|
34
|
+
public descripcionMunicipio:string='';
|
|
35
|
+
public descripcionParroquia:string='';
|
|
36
|
+
public descripcionComunidad:string='';
|
|
37
|
+
public cuentaDiferencialCambiario:string='';
|
|
38
|
+
public idEP1:number=0;
|
|
39
|
+
public idEP2:number=0;
|
|
40
|
+
public idEP3:number=0;
|
|
41
|
+
public idEP4:number=0;
|
|
42
|
+
public idEP5:number=0;
|
|
43
|
+
public codigoFuenteFinanciaminto:number=0;
|
|
44
|
+
public idUnidadAdministrativa:number=0;
|
|
45
|
+
public denominacionUnidadAdministrativa:string='';
|
|
46
|
+
public codigoUnidadAdministrativa:string='';
|
|
47
|
+
public codigoFuenteFinanciamintoMostrar:string='';
|
|
48
|
+
public codigoCentroCosto:string='';
|
|
49
|
+
public estructuraPresupuestaria:string='';
|
|
50
|
+
public tipoEmpresa:number=0;
|
|
51
|
+
|
|
52
|
+
constructor(e?: IEmpresa) {
|
|
53
|
+
super();
|
|
54
|
+
if(e){
|
|
55
|
+
this.idEmpresa=+e.id_empresa;
|
|
56
|
+
this.rif=e.rifemp;
|
|
57
|
+
this.nit=e.nitemp;
|
|
58
|
+
this.nombre=e.nomemp;
|
|
59
|
+
this.titulo=e.titemp;
|
|
60
|
+
this.direccion=e.diremp;
|
|
61
|
+
this.telefono=e.telemp;
|
|
62
|
+
this.fax=e.faxemp;
|
|
63
|
+
this.email=e.emaemp;
|
|
64
|
+
this.paginaWeb=e.webemp;
|
|
65
|
+
this.CIIU=e.ciiuemp;
|
|
66
|
+
this.numeroLicencia=e.numlic;
|
|
67
|
+
this.codigoPostal=e.codpos;
|
|
68
|
+
this.codigoPais=e.codpai;
|
|
69
|
+
this.codigoEstado=e.codest;
|
|
70
|
+
this.codigoMunicipio=e.codmun;
|
|
71
|
+
this.codigoParroquia=e.codpar;
|
|
72
|
+
this.codigoComunidad=e.codmun;
|
|
73
|
+
this.codigoMoneda=e.codmon;
|
|
74
|
+
this.nombreRepresentanteLegal=e.nomrepleg;
|
|
75
|
+
this.cedulaRepresentanteLegal=e.cedrepleg;
|
|
76
|
+
this.telefonoRepresentanteLegal=e.telrepleg;
|
|
77
|
+
this.carreraRepresentanteLegal=e.carrepleg;
|
|
78
|
+
this.telefonoOficinaRepresentanteLegal=e.telrepleg;
|
|
79
|
+
this.periodoFiscal=e.perfiscal;
|
|
80
|
+
this.numeroSeguroSocial=e.nroivss;
|
|
81
|
+
this.estatusPresupuesto=e.presupuesto=='1';
|
|
82
|
+
this.descripcionPais=e.despai;
|
|
83
|
+
this.descripcionEstado=e.desest;
|
|
84
|
+
this.descripcionMunicipio=e.desmun;
|
|
85
|
+
this.descripcionParroquia=e.despar;
|
|
86
|
+
this.descripcionComunidad=e.descom;
|
|
87
|
+
this.cuentaDiferencialCambiario=e.cuenta_diferencial;
|
|
88
|
+
this.idEP1=+e.id_ep1;
|
|
89
|
+
this.idEP2=+e.id_ep2;
|
|
90
|
+
this.idEP3=+e.id_ep3;
|
|
91
|
+
this.idEP4=+e.id_ep4;
|
|
92
|
+
this.idEP5=+e.id_ep5;
|
|
93
|
+
this.codigoFuenteFinanciaminto=+e.codfuefin;
|
|
94
|
+
this.idUnidadAdministrativa=+e.id_uniadm;
|
|
95
|
+
this.denominacionUnidadAdministrativa=e.denuniadm;
|
|
96
|
+
this.codigoUnidadAdministrativa=e.coduniadm;
|
|
97
|
+
this.codigoFuenteFinanciamintoMostrar=e.codigoftefin;
|
|
98
|
+
this.codigoCentroCosto=e.codcencos;
|
|
99
|
+
this.estructuraPresupuestaria=e.estpre;
|
|
100
|
+
this.tipoEmpresa=+e.tipoempresa;
|
|
101
|
+
} else{
|
|
102
|
+
this.isNew=true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public dataInterface():IEmpresa {
|
|
108
|
+
return {
|
|
109
|
+
id_empresa:this.idEmpresa.toString(),
|
|
110
|
+
rifemp:this.rif,
|
|
111
|
+
nitemp:this.nit,
|
|
112
|
+
nomemp:this.nombre,
|
|
113
|
+
titemp:this.titulo,
|
|
114
|
+
diremp:this.direccion,
|
|
115
|
+
telemp:this.telefono,
|
|
116
|
+
faxemp:this.fax,
|
|
117
|
+
emaemp:this.email,
|
|
118
|
+
webemp:this.paginaWeb,
|
|
119
|
+
ciiuemp:this.CIIU,
|
|
120
|
+
numlic:this.numeroLicencia,
|
|
121
|
+
codpos:this.codigoPostal,
|
|
122
|
+
despai:this.descripcionPais,
|
|
123
|
+
desest:this.descripcionEstado,
|
|
124
|
+
desmun:this.descripcionMunicipio,
|
|
125
|
+
despar:this.descripcionParroquia,
|
|
126
|
+
descom:this.descripcionComunidad,
|
|
127
|
+
codpai:this.codigoPais,
|
|
128
|
+
codest:this.codigoEstado,
|
|
129
|
+
codmun:this.codigoMunicipio,
|
|
130
|
+
codpar:this.codigoParroquia,
|
|
131
|
+
codcom:this.codigoComunidad,
|
|
132
|
+
codmon:this.codigoMoneda,
|
|
133
|
+
nomrepleg:this.nombreRepresentanteLegal,
|
|
134
|
+
cedrepleg:this.cedulaRepresentanteLegal,
|
|
135
|
+
telrepleg:this.telefonoRepresentanteLegal,
|
|
136
|
+
carrepleg:this.carreraRepresentanteLegal,
|
|
137
|
+
telofirep:this.telefonoOficinaRepresentanteLegal,
|
|
138
|
+
perfiscal:this.periodoFiscal,
|
|
139
|
+
nroivss: this.numeroSeguroSocial,
|
|
140
|
+
presupuesto:this.estatusPresupuesto?'1':'0',
|
|
141
|
+
cuenta_diferencial:this.cuentaDiferencialCambiario,
|
|
142
|
+
id_ep1:this.idEP1.toString(),
|
|
143
|
+
id_ep2:this.idEP2.toString(),
|
|
144
|
+
id_ep3:this.idEP3.toString(),
|
|
145
|
+
id_ep4:this.idEP4.toString(),
|
|
146
|
+
id_ep5:this.idEP5.toString(),
|
|
147
|
+
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
148
|
+
codcencos: this.codigoCentroCosto,
|
|
149
|
+
codfuefin: this.codigoFuenteFinanciaminto.toString(),
|
|
150
|
+
estpre: this.estructuraPresupuestaria,
|
|
151
|
+
tipoempresa:this.tipoEmpresa.toString(),
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
import { IEnterprise } from '../../interfaces/Configuracion';
|
|
3
|
+
import { MBasicModel } from '../basic-model.model';
|
|
4
|
+
|
|
5
|
+
export class MEnterprise extends MBasicModel {
|
|
6
|
+
public idEmpresa : number = 0;
|
|
7
|
+
public idEnterprise: number = 0;
|
|
8
|
+
public codigo : string = '';
|
|
9
|
+
public razonSocial : string = '';
|
|
10
|
+
public titulo : string = '';
|
|
11
|
+
public logo : string = '';
|
|
12
|
+
public rif : string = '';
|
|
13
|
+
public direccion: string='';
|
|
14
|
+
public cuentaIngreso : string = '';
|
|
15
|
+
public CuentaPorCobrar : string = '';
|
|
16
|
+
public CuentaIva : string = '';
|
|
17
|
+
public cuentaInventario : string = '';
|
|
18
|
+
public cuentaUtilidad : string = '';
|
|
19
|
+
public cuentaPerdida : string = '';
|
|
20
|
+
public cuentaPasivoDiferido : string = '';
|
|
21
|
+
public cuentAnterior : string = '';
|
|
22
|
+
public cuentSobrante : string = '';
|
|
23
|
+
public diaFechaVencimiento: number=0;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
constructor (e?:IEnterprise) {
|
|
27
|
+
super();
|
|
28
|
+
if (e){
|
|
29
|
+
this.idEmpresa= +e.id_empresa;
|
|
30
|
+
this.idEnterprise= +e.id_enterprise;
|
|
31
|
+
this.codigo= e.codigo;
|
|
32
|
+
this.razonSocial= e.denominacion;
|
|
33
|
+
this.titulo=e.titulo
|
|
34
|
+
this.logo= e.logo;
|
|
35
|
+
this.rif=e.rif;
|
|
36
|
+
this.direccion=e.direccion;
|
|
37
|
+
this.cuentaIngreso= e.spi_cuenta;
|
|
38
|
+
this.CuentaPorCobrar= e.sc_cuenta_cxc;
|
|
39
|
+
this.CuentaIva= e.sc_cuenta_iva;
|
|
40
|
+
this.cuentaInventario= e.sc_cuenta_inventario;
|
|
41
|
+
this.cuentaUtilidad= e.sc_cuenta_utilidad;
|
|
42
|
+
this.cuentaPerdida= e.sc_cuenta_perdida;
|
|
43
|
+
this.cuentaPasivoDiferido= e.sc_cuenta_pasivo_diferido;
|
|
44
|
+
this.cuentAnterior= e.sc_cuenta_ant;
|
|
45
|
+
this.cuentSobrante= e.spi_cuenta_sobrante;
|
|
46
|
+
this.diaFechaVencimiento=+e.diafecven;
|
|
47
|
+
} else{
|
|
48
|
+
this.isNew=true;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public dataInterface():IEnterprise{
|
|
53
|
+
return {
|
|
54
|
+
id_empresa: this.idEmpresa.toString(),
|
|
55
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
56
|
+
codigo: this.codigo,
|
|
57
|
+
denominacion: this.razonSocial,
|
|
58
|
+
titulo: this.titulo,
|
|
59
|
+
logo: this.logo,
|
|
60
|
+
rif: this.rif,
|
|
61
|
+
direccion:this.direccion,
|
|
62
|
+
spi_cuenta: this.cuentaIngreso,
|
|
63
|
+
sc_cuenta_cxc: this.CuentaPorCobrar,
|
|
64
|
+
sc_cuenta_iva: this.CuentaIva,
|
|
65
|
+
sc_cuenta_inventario: this.cuentaInventario,
|
|
66
|
+
sc_cuenta_utilidad: this.cuentaUtilidad,
|
|
67
|
+
sc_cuenta_perdida: this.cuentaPerdida,
|
|
68
|
+
sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
|
|
69
|
+
sc_cuenta_ant: this.cuentAnterior,
|
|
70
|
+
spi_cuenta_sobrante: this.cuentSobrante,
|
|
71
|
+
diafecven:this.diaFechaVencimiento.toString(),
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IPrefijo} from '../../interfaces/Configuracion';
|
|
2
|
+
import { MBasicModel } from '../basic-model.model';
|
|
3
|
+
import { MUsuarioPrefijo } from './userPrefix.model';
|
|
4
|
+
|
|
5
|
+
export class MPrefijo extends MBasicModel{
|
|
6
|
+
public idEmpresa:number=0;
|
|
7
|
+
public idEnterprise:number=0;
|
|
8
|
+
public id:number=0;
|
|
9
|
+
public prefijo:string='';
|
|
10
|
+
public procede:string='';
|
|
11
|
+
public codsis:string='';
|
|
12
|
+
public numeroInicial:number=0;
|
|
13
|
+
public numeroFinal:number=0;
|
|
14
|
+
public maximaLogitud:number=0;
|
|
15
|
+
public numeroActual:number=0;
|
|
16
|
+
public estatusActivo:boolean=true;
|
|
17
|
+
public estatusInicializarComprobanteSCG:boolean=false;
|
|
18
|
+
public estatusPrefijoGeneral:boolean=false;
|
|
19
|
+
public estatusPrefijoFecha:boolean=false;
|
|
20
|
+
public usuarios:MUsuarioPrefijo[]=[];
|
|
21
|
+
|
|
22
|
+
constructor(e?: IPrefijo){
|
|
23
|
+
super();
|
|
24
|
+
if(e){
|
|
25
|
+
this.idEmpresa=+e.id_empresa;
|
|
26
|
+
this.idEnterprise=+e.id_enterprise;
|
|
27
|
+
this.id=+e.id;
|
|
28
|
+
this.prefijo=e.prefijo;
|
|
29
|
+
this.procede=e.procede;
|
|
30
|
+
this.codsis=e.codsis;
|
|
31
|
+
this.numeroInicial=+e.nro_inicial;
|
|
32
|
+
this.numeroFinal=+e.nro_final;
|
|
33
|
+
this.maximaLogitud=+e.maxlen;
|
|
34
|
+
this.numeroActual=+e.nro_actual;
|
|
35
|
+
this.estatusActivo=e.estact=='1';
|
|
36
|
+
this.estatusInicializarComprobanteSCG=e.estcompscg=='1';
|
|
37
|
+
this.estatusPrefijoGeneral=e.estpregral=='1';
|
|
38
|
+
this.estatusPrefijoFecha=e.estprefec=='1';
|
|
39
|
+
if(this.usuarios){
|
|
40
|
+
this.usuarios = e.usuarios.map(e => new MUsuarioPrefijo(e));
|
|
41
|
+
}
|
|
42
|
+
} else{
|
|
43
|
+
this.isNew=true;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public dataInterface():IPrefijo{
|
|
48
|
+
return{
|
|
49
|
+
id_empresa:this.idEmpresa.toString(),
|
|
50
|
+
id_enterprise:this.idEnterprise.toString(),
|
|
51
|
+
id:this.id.toString(),
|
|
52
|
+
prefijo:this.prefijo,
|
|
53
|
+
procede:this.procede,
|
|
54
|
+
codsis:this.codsis,
|
|
55
|
+
nro_inicial:this.numeroInicial.toString(),
|
|
56
|
+
nro_final:this.numeroFinal.toString(),
|
|
57
|
+
maxlen:this.maximaLogitud.toString(),
|
|
58
|
+
nro_actual:this.numeroActual.toString(),
|
|
59
|
+
estact:this.estatusActivo ? '1':'0',
|
|
60
|
+
estcompscg:this.estatusInicializarComprobanteSCG ? '1':'0',
|
|
61
|
+
estpregral:this.estatusPrefijoGeneral ? '1':'0',
|
|
62
|
+
estprefec:this.estatusPrefijoFecha ? '1':'0',
|
|
63
|
+
usuarios: this.usuarios.map(function(e){return e.dataInterface()}),
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|