diff --git a/api/application/views/report_templates/JSONTOREPORT_FI_RV.php b/api/application/views/report_templates/JSONTOREPORT_FI_RV.php index c3467563..a420a791 100644 --- a/api/application/views/report_templates/JSONTOREPORT_FI_RV.php +++ b/api/application/views/report_templates/JSONTOREPORT_FI_RV.php @@ -305,8 +305,10 @@ defined('BASEPATH') or exit('No direct script access allowed'); $general_form = json_decode($pd_processed_forms[27][0]['processed_json'], true); $value = $general_form['json']; $all_applicant_details = $applicants_details; + //echo "i am here".$value['is_person_met']; 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.' . '

'; @@ -560,7 +562,7 @@ defined('BASEPATH') or exit('No direct script access allowed');