sigesp 1.1.63-202508145 → 1.1.64-202508145
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/fesm2020/sigesp.mjs
CHANGED
|
@@ -7762,7 +7762,7 @@ class SigespService {
|
|
|
7762
7762
|
* @modificado 17-07-2023
|
|
7763
7763
|
*/
|
|
7764
7764
|
getProvidersAndBeneficiaries(type = 'default', idEnterprise, destination = null, account = 'N') {
|
|
7765
|
-
return this.http.get(`${this.URL}/dao/rpc/proveedor_beneficiario_dao.php?
|
|
7765
|
+
return this.http.get(`${this.URL}/dao/rpc/proveedor_beneficiario_dao.php?provider_type=${type}&e=${idEnterprise}&destination=${destination}&account=${account}`, { headers: this.getHttpHeaders() }).pipe(map((res) => {
|
|
7766
7766
|
if (res.success) {
|
|
7767
7767
|
res.data = res.data.map(e => new MProviderBeneficiary(e));
|
|
7768
7768
|
}
|