This commit is contained in:
venbatechnologies@gmail.com 2019-03-20 19:01:49 +05:30
parent 3ae9236b43
commit 403e8866fb
2 changed files with 4 additions and 2 deletions

View File

@ -603,7 +603,8 @@ console.clear();
var splitted_label = val.address_label.split("/", 2);
// console.log(splitted_label)
// console.log(splitted_label[0],splitted_label[1]);
this.placeholderName[index] = 'Was any business activity seen at the ' + splitted_label[1] != '' ? splitted_label[1] : 'Address Type' + ' during PD visit?';
let addressType = splitted_label[1] != '' ? splitted_label[1] : 'Address Type';
this.placeholderName[index] = 'Was any business activity seen at the ' + addressType + ' during PD visit?';
let vals = {
address_label: val.address_label,
business_years: val.business_years,

View File

@ -152,7 +152,8 @@ export class EmploymentInfoComponent implements OnInit {
this.employmentForm.controls['employment_remarks'].setValue(value.records.employment_remarks);
if(value.records.total_business_experience != ''){
this.workExperienceFlag = (+value.records.total_business_previous_experience) < (+value.records.how_long_year) ? true : false;
this.checkWorkingExperiences();
// this.workExperienceFlag = (+value.records.total_business_previous_experience) < (+value.records.how_long_year) ? true : false;
}
}
})