sigesp 1.1.25-20241118 → 1.1.26-20241119
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/esm2020/lib/sigesp.service.mjs +19 -19
- package/fesm2015/sigesp.mjs +18 -18
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +18 -18
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/sigesp.service.d.ts +9 -9
- package/package.json +1 -1
package/fesm2015/sigesp.mjs
CHANGED
|
@@ -7790,16 +7790,16 @@ class SigespService {
|
|
|
7790
7790
|
return res;
|
|
7791
7791
|
}));
|
|
7792
7792
|
}
|
|
7793
|
-
getCharges() {
|
|
7794
|
-
return this.http.get(`${this.URL}/dao/stb/cargos_dao.php`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7793
|
+
getCharges(idEnterprise) {
|
|
7794
|
+
return this.http.get(`${this.URL}/dao/stb/cargos_dao.php?linea=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7795
7795
|
if (res.success) {
|
|
7796
7796
|
res.data = res.data.map(e => new MCargo(e));
|
|
7797
7797
|
}
|
|
7798
7798
|
return res;
|
|
7799
7799
|
}));
|
|
7800
7800
|
}
|
|
7801
|
-
getDeductions() {
|
|
7802
|
-
return this.http.get(`${this.URL}/dao/stb/deducciones_dao.php`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7801
|
+
getDeductions(idEnterprise) {
|
|
7802
|
+
return this.http.get(`${this.URL}/dao/stb/deducciones_dao.php?linea=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7803
7803
|
if (res.success) {
|
|
7804
7804
|
res.data = res.data.map(e => new MDeduction(e));
|
|
7805
7805
|
}
|
|
@@ -7826,8 +7826,8 @@ class SigespService {
|
|
|
7826
7826
|
* @author Dimaly Crespo
|
|
7827
7827
|
* @date 20-07-2021
|
|
7828
7828
|
*/
|
|
7829
|
-
getTiposDocumetos() {
|
|
7830
|
-
return this.http.get(`${this.URL}/dao/cxp/tipo_documento_dao.php?operacion=${'buscar'}&
|
|
7829
|
+
getTiposDocumetos(idEnterprise) {
|
|
7830
|
+
return this.http.get(`${this.URL}/dao/cxp/tipo_documento_dao.php?operacion=${'buscar'}&i=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7831
7831
|
if (res.success) {
|
|
7832
7832
|
res.data = res.data.map(e => new MTipoDocumentoCXP(e));
|
|
7833
7833
|
}
|
|
@@ -7860,8 +7860,8 @@ class SigespService {
|
|
|
7860
7860
|
* @author Dimaly Crespo
|
|
7861
7861
|
* @date 20-07-2021
|
|
7862
7862
|
*/
|
|
7863
|
-
getConceptosCxP() {
|
|
7864
|
-
return this.http.get(`${this.URL}/dao/cxp/concepto_dao.php?operacion=${'buscar'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7863
|
+
getConceptosCxP(idEnterprise) {
|
|
7864
|
+
return this.http.get(`${this.URL}/dao/cxp/concepto_dao.php?operacion=${'buscar'}&i=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7865
7865
|
if (res.success) {
|
|
7866
7866
|
res.data = res.data.map(e => new MConceptosCXP(e));
|
|
7867
7867
|
}
|
|
@@ -7874,8 +7874,8 @@ class SigespService {
|
|
|
7874
7874
|
* @author Dimaly Crespo
|
|
7875
7875
|
* @date 26-07-2021
|
|
7876
7876
|
*/
|
|
7877
|
-
getConceptosRetencion() {
|
|
7878
|
-
return this.http.get(`${this.URL}/dao/stb/deducciones_dao.php?code=${
|
|
7877
|
+
getConceptosRetencion(tipo, idTipoDeduccion) {
|
|
7878
|
+
return this.http.get(`${this.URL}/dao/stb/deducciones_dao.php?tipo=${tipo}&code=${idTipoDeduccion}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7879
7879
|
if (res.success) {
|
|
7880
7880
|
res.data = res.data.map(e => new MConceptoRetencion(e));
|
|
7881
7881
|
}
|
|
@@ -7887,8 +7887,8 @@ class SigespService {
|
|
|
7887
7887
|
* @return Observable<IResponse>
|
|
7888
7888
|
* @author Dimaly Crespo
|
|
7889
7889
|
*/
|
|
7890
|
-
obtenerConfiguracionSNO() {
|
|
7891
|
-
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7890
|
+
obtenerConfiguracionSNO(idEnterprise) {
|
|
7891
|
+
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7892
7892
|
if (res.success) {
|
|
7893
7893
|
if (res.data.length > 0) {
|
|
7894
7894
|
res.data = res.data.map(e => new MConfiguracionSNO(e));
|
|
@@ -7909,8 +7909,8 @@ class SigespService {
|
|
|
7909
7909
|
* @actualizado 26-05-2024
|
|
7910
7910
|
*
|
|
7911
7911
|
*/
|
|
7912
|
-
getNomina(tipo, id, act) {
|
|
7913
|
-
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7912
|
+
getNomina(tipo, idEnterprise, id, act) {
|
|
7913
|
+
return this.http.get(`${this.URL}/dao/sno/definicion_nomina_dao.php?tipo=${tipo}&id=${id}&e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7914
7914
|
if (res.success) {
|
|
7915
7915
|
res.data = res.data.map(e => new MDefinicionNomina(e));
|
|
7916
7916
|
}
|
|
@@ -7936,8 +7936,8 @@ class SigespService {
|
|
|
7936
7936
|
* @return Observable<IResponse>
|
|
7937
7937
|
* @author Dimaly Crespo
|
|
7938
7938
|
*/
|
|
7939
|
-
getPersonalSRH(tipo, id) {
|
|
7940
|
-
return this.http.get(`${this.URL}/dao/sno/personal_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7939
|
+
getPersonalSRH(tipo, idEnterprise, id) {
|
|
7940
|
+
return this.http.get(`${this.URL}/dao/sno/personal_dao.php?tipo=${tipo}&id=${id}&e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7941
7941
|
if (res.success) {
|
|
7942
7942
|
res.data = res.data.map(e => new MPersonal(e));
|
|
7943
7943
|
}
|
|
@@ -7949,8 +7949,8 @@ class SigespService {
|
|
|
7949
7949
|
* @return Observable<IResponse>
|
|
7950
7950
|
* @author Dimaly Crespo
|
|
7951
7951
|
*/
|
|
7952
|
-
getAgenciaBanco(tipo, id) {
|
|
7953
|
-
return this.http.get(`${this.URL}/dao/scb/agencia_dao.php?code=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7952
|
+
getAgenciaBanco(tipo, idEnterprise, id) {
|
|
7953
|
+
return this.http.get(`${this.URL}/dao/scb/agencia_dao.php?code=${tipo}&id=${id}e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7954
7954
|
if (res.success) {
|
|
7955
7955
|
res.data = res.data.map(e => new MAgenciaBanco(e));
|
|
7956
7956
|
}
|