PROD ISSEUS

This commit is contained in:
Velz2020 2019-11-20 15:52:22 +05:30
parent b9ede630e0
commit 185083045e
4 changed files with 14 additions and 12 deletions

View File

@ -5493,6 +5493,7 @@ public function getPDFormDetailsJSON_post()
if(is_object($s3result) && $s3result['ObjectURL'] != '' && $s3result['@metadata']['statusCode'] == 200)
{
$this->PD_Model->updateRecords(array('isactive' => 0),PDDOCUMENTS,array('pd_document_title' => 'satellite','fk_pd_id' => $pd_id));
$record_data = array('fk_pd_id' => $pdid,'pd_document_title'=>'satellite','pd_document_name'=>'satellite.png','fk_form_id'=>null,'rental_count_id' => null,'location' => null);
$id = $this->PD_Model->saveRecords($record_data,PDDOCUMENTS);

View File

@ -711,13 +711,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
//echo $applicant_name.'**************************';
$title = isset($individual['applicant_title_name_master']) && $individual['applicant_title_name_master'] != "" ? $individual['applicant_title_name_master'] : '';
$kyc_data = '';
$applicant_name = $title.' '.$applicant_name;
if($ind_key == 0 && array_key_exists('is_kyc', $general_form) && $general_form['is_kyc'] == 'no')
{
$kyc_data = "<br><br>Name noticed as per KYC is ". $general_form['kyc_and_captur_the_name'];
$applicant_name = 'As per the request received applicant name is '.$applicant_name.'<br> but as per KYC name is '.$general_form['kyc_and_captur_the_name'];
//$kyc_data = "<br><br>Name noticed as per KYC is ". $general_form['kyc_and_captur_the_name'];
}
echo '<tr><td class="customtd">'.$title.' '.$applicant_name.$kyc_data.'</td><td class="customtd">'.$individual['age'].'</td><td class="customtd">'.$education_qualification.'</td><td class="customtd">';
echo '<tr><td class="customtd">'.$applicant_name.'</td><td class="customtd">'.$individual['age'].'</td><td class="customtd">'.$education_qualification.'</td><td class="customtd">';
$company_relationship_data = null;
//print_r($general_form['company_with_relationships']);
@ -1985,8 +1985,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo $value['fourth_row'];
echo $value['fifth_row'];
echo $value['sixth_row'];
echo $value['seventh_row'];
echo $value['eighth_row'];
// echo $value['seventh_row'];
// echo $value['eighth_row'];
echo '</tbody>';
echo '</table>';
echo '<br>';
@ -3035,7 +3035,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$is_stock_sufficient_enough_remarks = $stockRow['finished_and_traded_goods_remarks'];
$is_raw_materials_sufficient_enough = null;
$is_raw_materials_sufficient_enough_remarks = null;
$how_was_the_stock_validated = isset($stockRow['stock_validated']) ? $stockRow['stock_validated'] : null;
$how_was_the_stock_validated = isset($stockRow['stock_validated']) && $stockRow['stock_validated'] != '' ? $stockRow['stock_validated'] : null;
$is_sufficiant_service_goods = $stockRow['is_sufficiant_service_goods'];
$bindStockResult["company_name"]=MYUTIL::findCompanyName($all_company_details,$stockRow['company_id'],1);
// this is for stock manufacturing details
@ -3218,7 +3218,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo '<p style="text-align:justify;">Stock not required to be maintained.</p>';
}
echo '<p>'. $how_was_the_stock_validated ? 'How was stock validated :- '.$how_was_the_stock_validated : ''.'</p>';
echo $how_was_the_stock_validated ? ('<p>How was stock validated :- '.$how_was_the_stock_validated .'</p>') : '';
$stock_photo_count = array_filter($pd_images[11],function($d) use ($business_count){ if($d['company_id'] == ($business_count + 1)){ return 1;}else {return 0;} });
$stock_img_row_count = ceil(count($stock_photo_count) / 3);
@ -3294,7 +3294,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$ai_summary_details_processed = ASSESSEDINCOME::getSummaryTable($ai_summary_details,$ai_core_details);
echo "<h2>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</h2>";
echo "<p>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</p>";
if(isset($ai_core_details) && count($ai_summary_details_processed))
{
echo '<p contenteditable="true"> '.$order_dipaly_array[0].') Financial Snapshot</p>';
@ -3748,10 +3748,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!-- <h3 contenteditable="true">Personal Banking: </h3> -->
<?php if($is_personal_banking_available != null){
//print_r($bankingResult);
?>
<h3 contenteditable="true">Personal Banking: </h3>
<p>Below bank account details were shared :</p>
<table class="scorecard_table">
<thead>

View File

@ -3344,7 +3344,7 @@ if($total_no_of_business > 0) {
$ai_summary_details_processed = ASSESSEDINCOME::getSummaryTable($ai_summary_details,$ai_core_details);
//print_r($ai_summary_details_processed);die();
echo "<h2>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</h2>";
echo "<p>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</p>";
if(isset($ai_core_details) && count($ai_summary_details_processed))
{
echo '<p contenteditable="true"> '.$order_dipaly_array[0].') Financial Snapshot</p>';

View File

@ -3586,7 +3586,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$ai_summary_details_processed = ASSESSEDINCOME::getSummaryTable($ai_summary_details,$ai_core_details);
echo "<h2>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</h2>";
echo "<p>Assessed Income - ".MYUTIL::findCompanyName($all_company_details,($business_count+1),1)."</p>";
if(isset($ai_core_details) && count($ai_summary_details_processed))
{
echo '<p contenteditable="true"> '.$order_dipaly_array[0].') Financial Snapshot</p>';