This commit is contained in:
sriram-at-840620226347 2020-06-24 18:59:12 +05:30
commit 9578405562

View File

@ -341,6 +341,7 @@ export class GeneralInfoComponent implements OnInit {
element.course_name = '',
element.relationship=''
individualsControl.push(this.createIndividulas(element));
console.log("General Group ",this._generalForm.value);
personsWithRelationshipsControl.push(this.createPersonsWithRelationships(element, key));
//let relationControl = <FormArray>this._generalForm.controls['applicant_relation'];
@ -825,12 +826,12 @@ export class GeneralInfoComponent implements OnInit {
if(saveRecords.individuals.length > 0){
saveRecords.individuals.forEach(val=>{
if(val.hasOwnProperty('is_person_met_id_proof')){
if(val.is_person_met_id_proof != ''){
if(val.is_person_met_id_proof != '' && val.is_person_met_id_proof != null){
val.is_person_met_id_proof = 'SAVED'
}
}
if(val.hasOwnProperty('is_person_met_pic')){
if(val.is_person_met_pic != ''){
if(val.is_person_met_pic != '' && val.is_person_met_pic != null){
val.is_person_met_pic = 'SAVED'
}
}