lender and product issue fixed
This commit is contained in:
parent
a55e370654
commit
7c96d01078
@ -265,7 +265,7 @@ export class LenderProductSegMappingComponent implements OnInit {
|
|||||||
// console.log(formValues)
|
// console.log(formValues)
|
||||||
if (!this.checkDuplicateInObject(formValues.temp_lender)) {
|
if (!this.checkDuplicateInObject(formValues.temp_lender)) {
|
||||||
console.log("worked")
|
console.log("worked")
|
||||||
this.masterService.savedetails(formValues).subscribe(
|
this.masterService.savedetails(params).subscribe(
|
||||||
dataresult => {
|
dataresult => {
|
||||||
if (dataresult.status == 200) {
|
if (dataresult.status == 200) {
|
||||||
console.log(dataresult);
|
console.log(dataresult);
|
||||||
|
|||||||
@ -101,7 +101,7 @@ private apiUrl = environment.apiEndpoint;
|
|||||||
}
|
}
|
||||||
savedetails(formValues: any): Observable<any>{
|
savedetails(formValues: any): Observable<any>{
|
||||||
|
|
||||||
return this._http.post<any[]>(this.apiUrl + "saveTemplateMappingDetailsV2", {"records":{"entity_id":"5","product_id":formValues.temp_lender[0].fk_product_id,"customer_segment_id":formValues.temp_lender[0].fk_customer_segment}} );
|
return this._http.post<any[]>(this.apiUrl + "saveTemplateMappingDetailsV2",formValues );
|
||||||
}
|
}
|
||||||
getLenderMasterListDetails(): Observable<any> {
|
getLenderMasterListDetails(): Observable<any> {
|
||||||
return this._http.get<any[]>(this.apiUrl + "getListOfLenders");
|
return this._http.get<any[]>(this.apiUrl + "getListOfLenders");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user