From 7d250a649fc4a14c3a1ddb7a63e8bce9c1dbbe67 Mon Sep 17 00:00:00 2001
From: VE10-Sanjeev
Date: Tue, 27 Dec 2022 11:42:48 +0530
Subject: [PATCH] Fi report : ps
---
.../views/report_templates/JSONTOREPORT_FI_OV_DI.php | 5 +++--
.../views/report_templates/JSONTOREPORT_FI_OV_SAL.php | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
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.' . '
';