Fairoj : General info pic issue fixed
This commit is contained in:
parent
aa4227c7be
commit
828ea54971
@ -341,6 +341,7 @@ export class GeneralInfoComponent implements OnInit {
|
|||||||
element.course_name = '',
|
element.course_name = '',
|
||||||
element.relationship=''
|
element.relationship=''
|
||||||
individualsControl.push(this.createIndividulas(element));
|
individualsControl.push(this.createIndividulas(element));
|
||||||
|
console.log("General Group ",this._generalForm.value);
|
||||||
personsWithRelationshipsControl.push(this.createPersonsWithRelationships(element, key));
|
personsWithRelationshipsControl.push(this.createPersonsWithRelationships(element, key));
|
||||||
|
|
||||||
//let relationControl = <FormArray>this._generalForm.controls['applicant_relation'];
|
//let relationControl = <FormArray>this._generalForm.controls['applicant_relation'];
|
||||||
@ -825,12 +826,12 @@ export class GeneralInfoComponent implements OnInit {
|
|||||||
if(saveRecords.individuals.length > 0){
|
if(saveRecords.individuals.length > 0){
|
||||||
saveRecords.individuals.forEach(val=>{
|
saveRecords.individuals.forEach(val=>{
|
||||||
if(val.hasOwnProperty('is_person_met_id_proof')){
|
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'
|
val.is_person_met_id_proof = 'SAVED'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(val.hasOwnProperty('is_person_met_pic')){
|
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'
|
val.is_person_met_pic = 'SAVED'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user