business form assest changes
This commit is contained in:
parent
a9a4a0a693
commit
0873b2f6c7
@ -165,7 +165,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
|
|||||||
//Get Data Based on PDID and FORMID
|
//Get Data Based on PDID and FORMID
|
||||||
apiLoadFinish: boolean = false;
|
apiLoadFinish: boolean = false;
|
||||||
getPdSupplierFormDetails() {
|
getPdSupplierFormDetails() {
|
||||||
this.pdTrigerService.getPDFormDetailsWithID(this.pdid, '22').subscribe(
|
this.pdTrigerService.getPDFormDetailsWithCompanyID(this.pdid, '22',this.company_id).subscribe(
|
||||||
data => {
|
data => {
|
||||||
if (data) {
|
if (data) {
|
||||||
if (data.dataStatus) {
|
if (data.dataStatus) {
|
||||||
|
|||||||
@ -255,6 +255,13 @@ export class PdTrigerService {
|
|||||||
catchError(this.handleError('operation', []))
|
catchError(this.handleError('operation', []))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
// common Pd form details get for the Pd Process
|
||||||
|
getPDFormDetailsWithCompanyID(pdID, formID,companyID): Observable<any> {
|
||||||
|
return this._http.post<any>(this.apiUrl + "getPDFormDetails", { "pd_id": pdID, "pd_form_id": formID,"company_id": companyID})
|
||||||
|
.pipe(
|
||||||
|
catchError(this.handleError('operation', []))
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// save Pd form details
|
// save Pd form details
|
||||||
savePDFormDetailsWithID(saveData: any): Observable<any> {
|
savePDFormDetailsWithID(saveData: any): Observable<any> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user