diff --git a/api/application/views/report_templates/JSONTOREPORT_FI_OV_DI.php b/api/application/views/report_templates/JSONTOREPORT_FI_OV_DI.php index 7e92186c..bae71519 100644 --- a/api/application/views/report_templates/JSONTOREPORT_FI_OV_DI.php +++ b/api/application/views/report_templates/JSONTOREPORT_FI_OV_DI.php @@ -306,7 +306,8 @@ defined('BASEPATH') or exit('No direct script access allowed'); $value = $general_form['json']; $all_applicant_details = $applicants_details; if (strtoupper($value['is_person_met']) == 'YES') { - echo '

' . 'Applicant (' . isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'] . ') was met at the visited address.' . '

'; + $person = isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met']; + echo '

' . 'Applicant ('.$person.') was met at the visited address.' . '

'; } else if (strtoupper($value['is_person_met']) == 'NO') { $designation = str_replace(' of', '', $value['designation_person_met_master']); echo '

' . '(' . $value['Name_of_the_Person'] . ') (' . $designation . ') was met at the visited address during visit.' . '

'; @@ -558,7 +559,7 @@ defined('BASEPATH') or exit('No direct script access allowed'); ' . 'Applicant (' . isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'] . ') was met at the visited address.' . '

'; + $person = isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met']; + echo '

' . 'Applicant ('.$person.') was met at the visited address.' . '

'; } else if (strtoupper($value['is_person_met']) == 'NO') { $designation = str_replace(' of', '', $value['designation_person_met_master']); echo '

' . 'During PD (' . $value['Name_of_the_Person'] . ') (' . $designation . ') was met at the visited address during visit.' . '

';