sigesp 0.8.60-220113 → 0.8.64-220121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sigesp.umd.js +231 -52
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Lugares.js +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +57 -0
- package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +17 -17
- package/esm2015/lib/core/models/locations.model.js +1 -1
- package/esm2015/lib/sigesp.service.js +153 -33
- package/esm2015/public-api.js +3 -2
- package/fesm2015/sigesp.js +224 -48
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +17 -0
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +21 -0
- package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +2 -0
- package/lib/sigesp.service.d.ts +95 -14
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
- package/sigesp.metadata.json +1 -1
|
@@ -125,6 +125,21 @@ export interface INomina {
|
|
|
125
125
|
id_perresnom: string;
|
|
126
126
|
periodos: IPeriodoNomina[];
|
|
127
127
|
}
|
|
128
|
+
export interface INominaSimple {
|
|
129
|
+
id_empresa: string;
|
|
130
|
+
id_nomina: string;
|
|
131
|
+
codnom: string;
|
|
132
|
+
dennom: string;
|
|
133
|
+
id_periodoactual: string;
|
|
134
|
+
totper: string;
|
|
135
|
+
cerper: string;
|
|
136
|
+
calculado: string;
|
|
137
|
+
prenomina: string;
|
|
138
|
+
id_carper: string;
|
|
139
|
+
descar: string;
|
|
140
|
+
codcar: string;
|
|
141
|
+
racnom: string;
|
|
142
|
+
}
|
|
128
143
|
export interface IPeriodoNomina {
|
|
129
144
|
id_empresa: string;
|
|
130
145
|
id_nomina: string;
|
|
@@ -141,6 +156,8 @@ export interface IPeriodoNomina {
|
|
|
141
156
|
ingconper: string;
|
|
142
157
|
fidconper: string;
|
|
143
158
|
fidintconper: string;
|
|
159
|
+
prenomina: string;
|
|
160
|
+
calculado: string;
|
|
144
161
|
}
|
|
145
162
|
export interface IPersonalNomina {
|
|
146
163
|
id_empresa: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { INominaSimple } from "../../interfaces/Nomina";
|
|
2
|
+
export declare class MNominaSimple {
|
|
3
|
+
idEmpresa: number;
|
|
4
|
+
idNnomina: number;
|
|
5
|
+
codigoNomina: string;
|
|
6
|
+
denominacioNomina: string;
|
|
7
|
+
idPeriodoActual: number;
|
|
8
|
+
totalPeriodo: number;
|
|
9
|
+
estatus: string;
|
|
10
|
+
estatusPeriodo: number;
|
|
11
|
+
calculada: boolean;
|
|
12
|
+
prenomina: boolean;
|
|
13
|
+
idCargo: number;
|
|
14
|
+
codigoCargo: string;
|
|
15
|
+
denominacionCargo: string;
|
|
16
|
+
nominaRac: number;
|
|
17
|
+
simbolo: string;
|
|
18
|
+
color: string;
|
|
19
|
+
constructor(e?: INominaSimple);
|
|
20
|
+
dataInterface(): INominaSimple;
|
|
21
|
+
}
|
|
@@ -16,6 +16,8 @@ export declare class MPeriodoNomina extends MBasicModel {
|
|
|
16
16
|
ingresoContabilizadoPeriodo: number;
|
|
17
17
|
fideicomisoContabilizado: number;
|
|
18
18
|
fideicomisoInteresContabilizadoPeriodo: number;
|
|
19
|
+
prenomina: boolean;
|
|
20
|
+
calculado: boolean;
|
|
19
21
|
constructor(e?: IPeriodoNomina);
|
|
20
22
|
dataInterface(): IPeriodoNomina;
|
|
21
23
|
estatusPeriodo(): string;
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare class SigespService {
|
|
|
37
37
|
URL: string;
|
|
38
38
|
currentComponent: MComponent;
|
|
39
39
|
userMenu: any;
|
|
40
|
+
ip_adress: string;
|
|
40
41
|
constructor(http: HttpClient, dialog: MatDialog, toast: ToastrService);
|
|
41
42
|
/**
|
|
42
43
|
* @description Valida que selo se escriban guiones y 9
|
|
@@ -487,29 +488,47 @@ export declare class SigespService {
|
|
|
487
488
|
*/
|
|
488
489
|
getServiceCharges(serviceId?: number): Observable<IResponse>;
|
|
489
490
|
/**
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
491
|
+
* @description Obtiene los paises
|
|
492
|
+
* @return Observable<MCountry>
|
|
493
|
+
* @author Carlos Albornoz
|
|
494
|
+
* @modified 10-01-2022
|
|
495
|
+
* @param codigo: Codigo del pais
|
|
496
|
+
*/
|
|
497
|
+
getCountries(codigo?: string): Observable<MCountry[]>;
|
|
495
498
|
/**
|
|
496
499
|
* @description Obtiene los estados
|
|
497
500
|
* @return Observable<MState>
|
|
498
501
|
* @author Carlos Albornoz
|
|
502
|
+
* @modificado 10-01-2022
|
|
503
|
+
* @param codigo: Codigo del pais
|
|
499
504
|
*/
|
|
500
|
-
getStates(): Observable<MState[]>;
|
|
505
|
+
getStates(codigo?: string): Observable<MState[]>;
|
|
501
506
|
/**
|
|
502
507
|
* @description Obtiene los municipios
|
|
503
508
|
* @return Observable<MMunicipality>
|
|
504
509
|
* @author Carlos Albornoz
|
|
510
|
+
* @modificado 10-01-2022
|
|
511
|
+
* @param pais: Codigo del pais, estado:Codigo del estado
|
|
512
|
+
|
|
505
513
|
*/
|
|
506
|
-
getMunicipalities(): Observable<MMunicipality[]>;
|
|
514
|
+
getMunicipalities(pais?: string, estado?: string): Observable<MMunicipality[]>;
|
|
507
515
|
/**
|
|
508
516
|
* @description Obtiene las parroquias
|
|
509
517
|
* @return Observable<MParish>
|
|
510
518
|
* @author Carlos Albornoz
|
|
519
|
+
* @modificado 10-01-2022
|
|
520
|
+
* @param codigo: Codigo del pais, estado:Codigo del estado, municipio:codigo Municipio
|
|
521
|
+
*/
|
|
522
|
+
getParishes(codigo?: string, estado?: string, municipio?: string): Observable<MParish[]>;
|
|
523
|
+
/**
|
|
524
|
+
* @description Obtiene las ciudades
|
|
525
|
+
* @return Observable<MParish>
|
|
526
|
+
* @author Carlos Albornoz
|
|
527
|
+
* @modificado 10-01-2022
|
|
528
|
+
* @param codigo: Codigo del pais
|
|
529
|
+
|
|
511
530
|
*/
|
|
512
|
-
|
|
531
|
+
getCitys(codigo?: string): Observable<MParish[]>;
|
|
513
532
|
/**
|
|
514
533
|
* @description Obtiene los sistemas activas
|
|
515
534
|
* @return Observable<MSistema>
|
|
@@ -773,26 +792,88 @@ export declare class SigespService {
|
|
|
773
792
|
* @description obtiene el personal segun filtro
|
|
774
793
|
* @return Observable<IResponse>
|
|
775
794
|
* @date 15-11-2021
|
|
795
|
+
* @param tipo: valores ['catalogo','default','nomina']
|
|
796
|
+
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
776
797
|
*/
|
|
777
|
-
getPersonal(dato?: any): Observable<any>;
|
|
798
|
+
getPersonal(tipo: string, dato?: any): Observable<any>;
|
|
778
799
|
/**
|
|
779
800
|
* @description obtener personal Nomina segun filtro
|
|
780
801
|
* @return Observable<IResponse>
|
|
781
802
|
* @date 15-11-2021
|
|
803
|
+
* * @param tipo: valores ['catalogo','default','nomina']
|
|
804
|
+
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
805
|
+
|
|
782
806
|
*/
|
|
783
|
-
getPersonalNomina(dato?: any): Observable<any>;
|
|
807
|
+
getPersonalNomina(tipo: string, dato?: any): Observable<any>;
|
|
784
808
|
/**
|
|
785
|
-
* @
|
|
786
|
-
* @
|
|
787
|
-
* @
|
|
809
|
+
* @param idPersonal: id del personal
|
|
810
|
+
* @param tipo: valores['nomina_personal']
|
|
811
|
+
* @description Obtiene las nominas del personal resumida
|
|
812
|
+
* @deprecated; 20-01-22
|
|
813
|
+
* @returns
|
|
788
814
|
*/
|
|
789
|
-
|
|
815
|
+
getPersonalNominaResumida(idPersonal: number, tipo: string): Observable<any>;
|
|
790
816
|
/**
|
|
791
817
|
* @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
|
|
792
818
|
* @return Json data
|
|
793
819
|
* @author Ing. Wilmer Briceno
|
|
794
820
|
*/
|
|
821
|
+
getJsonMenu(id_usuario: number, sistema: string): Observable<any>;
|
|
822
|
+
/**
|
|
823
|
+
* @description Obtiene el Json Menu para el usuario definido segun su permisologia del Sistema
|
|
824
|
+
* @return Json data
|
|
825
|
+
* @author Ing. Wilmer Briceno
|
|
826
|
+
*/
|
|
795
827
|
log(body: MLog): Observable<any>;
|
|
828
|
+
/**
|
|
829
|
+
* @name EncryptData
|
|
830
|
+
* @description Enscripta una expresion data
|
|
831
|
+
* @author Ing. Wilmer Briceño
|
|
832
|
+
*/
|
|
833
|
+
EncryptData(expresion: string): any;
|
|
834
|
+
/**
|
|
835
|
+
* @name DecryptData
|
|
836
|
+
* @description Desencripta una expresion data
|
|
837
|
+
* @author Ing. Wilmer Briceño
|
|
838
|
+
*/
|
|
839
|
+
DecryptData(expresion: string): any;
|
|
840
|
+
/**
|
|
841
|
+
* @name getResponsePerfilToolbar
|
|
842
|
+
* @description Metodo que obtiene una respuesta true o false basado en una estructura sring binanria segun
|
|
843
|
+
* la posicion dada del toolbar. se pasa string binario que contiene 1 y 0 en representacion
|
|
844
|
+
* de las propiestades administrador,consultar,ejecutar,imprimir etc ... cada posicion secuencial
|
|
845
|
+
* si esta en 1 es true y 0 en false y devuleve el valor segun lo requiera el usuario:
|
|
846
|
+
* stringbinario : '1011' y posicion es 2, por tanto se tare 0 y es false que representa opcion consultar.
|
|
847
|
+
* Estructura string binario:
|
|
848
|
+
* Posición :
|
|
849
|
+
* 0. Administrador 6. Descargar
|
|
850
|
+
* 1. insertar 7. Ejecutar
|
|
851
|
+
* 2. Actualizar 8. Enviar
|
|
852
|
+
* 3. consultar 9. Imprimir
|
|
853
|
+
* 4. Eliminar 10. Visible
|
|
854
|
+
* 5. Anular
|
|
855
|
+
*
|
|
856
|
+
* @author Ing. Wilmer Briceño
|
|
857
|
+
*/
|
|
858
|
+
getResponsePerfilToolbar(stringbinario: string, position: number): boolean;
|
|
859
|
+
/**
|
|
860
|
+
* @description Obtiene el Ip del cliente
|
|
861
|
+
* @return Json data
|
|
862
|
+
* @author Ing. Wilmer Briceno
|
|
863
|
+
*/
|
|
864
|
+
getIPAddress(): Observable<Object>;
|
|
865
|
+
/**
|
|
866
|
+
* @description Obtiene el Ip del cliente
|
|
867
|
+
* @return Json data
|
|
868
|
+
* @author Ing. Wilmer Briceno
|
|
869
|
+
*/
|
|
870
|
+
setIpAdress(): void;
|
|
871
|
+
/**
|
|
872
|
+
* @description Obtiene el Ip del cliente
|
|
873
|
+
* @return Json data
|
|
874
|
+
* @author Ing. Wilmer Briceno
|
|
875
|
+
*/
|
|
876
|
+
getIpAdress(): void;
|
|
796
877
|
}
|
|
797
878
|
interface filtroCuentasPresupuesto {
|
|
798
879
|
tipo?: 'E' | 'R';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { MFuenteFinanciamiento } from './lib/core/models/fuenteFinanciamiento.mo
|
|
|
17
17
|
export { MCuentaEgresos } from './lib/core/models/expensiveAccount.model';
|
|
18
18
|
export { MComprobantePresupuestarioIngresos, MComprobantePresupuestarioEgresos } from './lib/core/models/comprobantePresupuestario.model';
|
|
19
19
|
export { MEstructuraPresupuestariaOne, MEstructuraPresupuestariaTwo, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaFiveComplete, MAllStructure } from './lib/core/models/estructuraPresupuestaria.model';
|
|
20
|
-
export { MCountry, MMunicipality, MParish, MState, MCity } from './lib/core/models/locations.model';
|
|
20
|
+
export { MCountry, MMunicipality, MParish, MState, MCity, } from './lib/core/models/locations.model';
|
|
21
21
|
export { MClasification } from './lib/core/models/clasification.model';
|
|
22
22
|
export { MDocument } from './lib/core/models/document.model';
|
|
23
23
|
export { MOrganizationType } from './lib/core/models/organizationType.model';
|
|
@@ -103,6 +103,7 @@ export { MUbicacionFisica } from './lib/core/models/SNO/MUbicacionFisica.model';
|
|
|
103
103
|
export { MVacacionesPersonal } from './lib/core/models/SNO/MVacacionesPersonal.model';
|
|
104
104
|
export { MEncargaduria } from './lib/core/models/SNO/MEncargaduria.model';
|
|
105
105
|
export { MCodigoUnicoRac } from './lib/core/models/SNO/MCodigoUnicoRac.model';
|
|
106
|
+
export { MNominaSimple } from './lib/core/models/SNO/MNominaSimple.model';
|
|
106
107
|
export { IProveedor, IOrganizationType, IProviderBeneficiary, IProviderBankAccount } from './lib/core/interfaces/Proveedor';
|
|
107
108
|
export { IConexion } from './lib/core/interfaces/Usuario';
|
|
108
109
|
export { IEstructuraPresupuestariaOne, IEstructuraPresupuestariaTwo, IEstructuraPresupuestariaThree, IEstructuraPresupuestariaFour, IEstructuraPresupuestariaFive } from './lib/core/interfaces/EstructuraPresupuestaria';
|
|
@@ -120,7 +121,7 @@ export { IConfigSSS, IUserDetail, IGroup, IComponent, IRights, IUserPermit, ILog
|
|
|
120
121
|
export { ISistema } from './lib/core/interfaces/Sistema';
|
|
121
122
|
export { IUnitAdministrative } from './lib/core/interfaces/Presupuesto';
|
|
122
123
|
export { IServiceCharge, IConceptosCXP, ITipoDocumentoCXP } from './lib/core/interfaces/CuentasPorPagar';
|
|
123
|
-
export { IAsignacionCargo, IConceptos, IConceptosPersonalNomina, IConceptosVacaciones, IConstanteNomina, IConstantePersonaNomina, IHojaTiempo, INomina, IPeriodoNomina, IPersonalNomina, IPrimasConcepto, ISelect, Reporte, SalarioNormal, Signo, TipoCestaTicket, IEncargaduria, ICodigoUnicoRac, } from './lib/core/interfaces/Nomina';
|
|
124
|
+
export { IAsignacionCargo, IConceptos, IConceptosPersonalNomina, IConceptosVacaciones, IConstanteNomina, IConstantePersonaNomina, IHojaTiempo, INomina, IPeriodoNomina, IPersonalNomina, IPrimasConcepto, ISelect, Reporte, SalarioNormal, Signo, TipoCestaTicket, IEncargaduria, ICodigoUnicoRac, INominaSimple, } from './lib/core/interfaces/Nomina';
|
|
124
125
|
export { IEmpresa } from './lib/core/interfaces/Configuracion';
|
|
125
126
|
export { IConfiguracionSNO, IAnticipoPrestacion, IBenefiaciario, ICargosPersonal, IDeudaAnterior, IEstudioRealizado, IFamiliares, IFideicomiso, IImpuestoSobreRenta, IIncidencia, IPermisos, IPersonal, IPersonalCuentasBancarias, IPrestacionesAntiguedad, ISalarioHistorico, ITrabajoAnterior, IVacacionesPersonal, IAcademico, ICampos, ICargaFamiliar, IClasificacionObrero, IDialogData, IDtRequisitosMinimos, IExperienciaLaboral, IFormacionAcademica, IFormacionInformal, IFuenteFinanciamiento, IGrados, IPrimaGrados, IRequisitosConcursante, IRequisitosConcursos, IRequisitosMinismos, ISolicitudEmpleo, ITabulador, ITabuladorNomina, IArchivoTxt, IArchivoTxtCampos, IAspectoEvaluacion, IComponente, IConcursante, IConcurso, IDedicacion, IDefinicionesBasicas, IEscalaEvaluacion, IEscalaEvaluacionDt, IEstructuraOrganizativa, IFeriados, IHorario, IItemsEvaluacion, IMetodoBanco, IMetodos, INivel, IRango, ITablaVacaciones, ITablaVacacionesPeriodo, ITipoEvaluacion, ITipoEvaluacionAspectos, ITipoPersonal, ITiposEnfermedad, IUbicacionFisica, ISelect3 } from './lib/core/interfaces/RecursosHumanos';
|
|
126
127
|
export { IDetaEntrada, IEntradaSuministros, IDetaContable } from './lib/core/interfaces/EntradaSuministro';
|