save pd form service details check : kdk
This commit is contained in:
parent
5425dc72de
commit
215de92b41
@ -197,6 +197,19 @@ getPDFormDetailsWithID(pdID, formID ):Observable<any> {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// save Pd form details
|
||||||
|
savePDFormDetailsWithID(saveData: any): Observable<any> {
|
||||||
|
saveData.fk_createdby = this._aws.getlocale();
|
||||||
|
saveData.fk_createdon = currentdate;
|
||||||
|
// saveData[0].fk_updatedby = this._aws.getlocale();
|
||||||
|
// saveData[0].updatedon = currentdate;
|
||||||
|
|
||||||
|
return this._http.post<any>(this.apiUrl+"savePDFormDetails",{"records":saveData})
|
||||||
|
.pipe(
|
||||||
|
catchError(this.handleError('operation', []))
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// save pd answers
|
// save pd answers
|
||||||
savePDQuestions(saveData: any): Observable<any> {
|
savePDQuestions(saveData: any): Observable<any> {
|
||||||
saveData.createdby = this._aws.getlocale();
|
saveData.createdby = this._aws.getlocale();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user