for live issues add company_id @param getpdformdetails

This commit is contained in:
venbatechnologies@gmail.com 2022-01-03 16:17:55 +05:30
parent ac989915e2
commit a7c6897a5c
3 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@
<div fxLayout="row wrap" fxLayoutGap="5px" fxLayoutAlign="start none">
<mat-form-field style="width: 95%;">
<mat-select placeholder="Is this the business address ? "
(selectionChange)="setRequiredValidation($event.value,itemrow,1);"
(selectionChange)="setRequiredValidation($event.value,itemrow,1);"
formControlName="business_address_availability" required>
<mat-option>Select</mat-option>
<mat-option value="yes">Yes</mat-option>

View File

@ -206,6 +206,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
reqparams.parent_pdid = this.parent_pdid;
reqparams.pd_id = this.pdid;
reqparams.pd_form_id = '22';
reqparams.company_id=this.company_id;
this.pdTrigerService.retriveForm(reqparams).subscribe(
data => {
if (data) {
@ -309,7 +310,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
let selectedCity = this.cityArr.filter(element => element.city_id == dataValue.city)[0];
// console.log(selectedCity,dataValue.city,selectedState);
let selectedPincode = this.pinArr.filter(element => element.pincode_id == dataValue.pincode)[0];
console.log(selectedAddressType)
console.log(selectedAddressType)
let addressType = dataValue.address_type != 1 && selectedAddressType ? selectedAddressType.address_type : dataValue.address_type_others;
console.log(addressType)

View File

@ -40,8 +40,7 @@ export class ImagesAllComponent implements OnInit { imageData: any;
// if(this.records.is_cus_link_disabled != '1') {
this.imageData =this.records.img_data;
this.imageData.forEach(val=>{
console.log('tamil');
console.log(val);
val.is_loader = false
val.is_saved = true
})