Tweaked getCargoSuretys to use 003 instead of 005

This commit is contained in:
gitadmin 2025-10-28 02:53:43 +00:00
parent 5dfb93702c
commit 21652e1ffe

View File

@ -127,7 +127,7 @@ export class CommonService {
} }
getCargoSuretys(): Observable<CargoSurety[]> { getCargoSuretys(): Observable<CargoSurety[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetParamValues?P_PARAMTYPE=005&P_SPID=${this.userService.getUserSpid()}`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetParamValues?P_PARAMTYPE=003&P_SPID=${this.userService.getUserSpid()}`).pipe(
map((response) => map((response) =>
response.map((item) => ({ response.map((item) => ({
name: item.PARAMDESC, name: item.PARAMDESC,