Fi report : ps

This commit is contained in:
VE10-Sanjeev 2022-12-27 11:42:48 +05:30
parent 3766e13fa9
commit 7d250a649f
2 changed files with 5 additions and 3 deletions

View File

@ -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 '<p>' . 'Applicant <b>(' . isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'] . ')</b> was met at the visited address.' . '</p>';
$person = isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'];
echo '<p>' . 'Applicant <b>('.$person.')</b> was met at the visited address.' . '</p>';
} else if (strtoupper($value['is_person_met']) == 'NO') {
$designation = str_replace(' of', '', $value['designation_person_met_master']);
echo '<p>' . '(' . $value['Name_of_the_Person'] . ') (' . $designation . ') was met at the visited address during visit.' . '</p>';
@ -558,7 +559,7 @@ defined('BASEPATH') or exit('No direct script access allowed');
<?php
$final_remark = json_decode($pd_processed_forms[33][0]['processed_json'], true);
$final_remark_data = $final_remark['json'];
print_r($final_remark_data);
// print_r($final_remark_data);
$positive = null;

View File

@ -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 '<p>' . 'Applicant <b>(' . isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'] . ')</b> was met at the visited address.' . '</p>';
$person = isset($value['Name_of_the_Person_met_master']) ? $value['Name_of_the_Person_met_master'] : $value['Name_of_the_Person_met'];
echo '<p>' . 'Applicant <b>('.$person.')</b> was met at the visited address.' . '</p>';
} else if (strtoupper($value['is_person_met']) == 'NO') {
$designation = str_replace(' of', '', $value['designation_person_met_master']);
echo '<p>' . 'During PD (' . $value['Name_of_the_Person'] . ') (' . $designation . ') was met at the visited address during visit.' . '</p>';