-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #207 uso firmaElectrónica cert Cumplimiento
- Se usa administrativa_amazon para la consulta de jefe de dependecia actual: - jefe sección compras para cumplimiento - jefe de jurídica para contractual ya queda generalizado por cargo en vez de consultar por la persona. - Para cert cumplimiento, quienes firman quedan de la siguiente manera: - firmantes: jefe seccón compras - representante: usuario loggeado (su info se consulta desde terceros) - Teniendo la necesidad de usar terceros, se añade su respectivo servicio. - Se ajustan pequeños detalles de escritura en cert contractual.
- Loading branch information
1 parent
17c6e32
commit e1bec4c
Showing
7 changed files
with
130 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { Injectable } from '@angular/core'; | ||
import { RequestManager } from '../../managers/requestManager'; | ||
|
||
@Injectable({ | ||
providedIn: 'root' | ||
}) | ||
export class TercerosService { | ||
|
||
constructor(private requestManager: RequestManager) { | ||
this.requestManager.setPath('TERCEROS_SERVICE'); | ||
} | ||
|
||
get(endpoint) { | ||
this.requestManager.setPath('TERCEROS_SERVICE'); | ||
return this.requestManager.get(endpoint); | ||
} | ||
|
||
post(endpoint, element) { | ||
this.requestManager.setPath('TERCEROS_SERVICE'); | ||
return this.requestManager.post(endpoint, element); | ||
} | ||
|
||
put(endpoint, element) { | ||
this.requestManager.setPath('TERCEROS_SERVICE'); | ||
return this.requestManager.put(endpoint, element); | ||
} | ||
|
||
delete(endpoint, element) { | ||
this.requestManager.setPath('TERCEROS_SERVICE'); | ||
return this.requestManager.delete(endpoint, element.Id); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters