RENTAL YES NO SES REMOVED

This commit is contained in:
velz 2019-06-10 11:50:55 +05:30
parent 6fd0eea317
commit 6f9916ce07
6 changed files with 46 additions and 10 deletions

View File

@ -89,7 +89,7 @@ $autoload['drivers'] = array();
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array('url','file','form', 'jwt', 'authorization', 'date','mylog','myocr','mydb','pdalerts','myutil','myhttpclient','pdscore','businessform','otherincomeform','financialform','neighbourreferencecheckform', 'otherfamilyform', 'assetsform','stockform', 'bankingform','sms_gupshup','assessedincome');
$autoload['helper'] = array('url','file','form', 'jwt', 'authorization', 'date','mylog','myocr','mydb','pdalerts','myutil','myhttpclient','pdscore','businessform','otherincomeform','financialform','neighbourreferencecheckform', 'otherfamilyform', 'assetsform','stockform', 'bankingform','sms_gupshup','assessedincome','rentalform');
/*
| -------------------------------------------------------------------

View File

@ -878,7 +878,7 @@ class PD_Controller extends REST_Controller {
if(count($parent_pd_details))
{
$newpd['fk_lender_id'] = $parent_pd_details[0]['fk_lender_id'];
$newpd['pd_date_of_initiation'] = $parent_pd_details[0]['pd_date_of_initiation_sqlformat'];
$newpd['pd_date_of_initiation'] = date('Y-m-d H-i-s');
$newpd['fk_entity_billing_id'] = $parent_pd_details[0]['fk_entity_billing_id'];
$newpd['lender_applicant_id'] = $parent_pd_details[0]['lender_applicant_id'];
$newpd['fk_product_id'] = $parent_pd_details[0]['fk_product_id'];
@ -5113,7 +5113,7 @@ class PD_Controller extends REST_Controller {
// $this->getPDImages_post($fields2,array('fk_pd_id'=>$pdid,'fk_form_id' => $i),PDDOCUMENTS,array(),'','company_id','ASC');
// print_r($this->db->last_query());
}
//print_r($data['pd_images']);
//print_r($data['pd_processed_forms'][17]);
//die();
//print_r($data['pd_images']);die(); //print_r(json_decode($data['pd_processed_forms'][14][0]['processed_json'],true));
//die();

View File

@ -152,7 +152,7 @@ class User_Management_Controller extends REST_Controller {
// send a verification mail for registered user to get PD alert informations
// They have to clik a verification link from sent mail
$this->aws_ses->verifyEmailIdentity($records['email']);
//$this->aws_ses->verifyEmailIdentity($records['email']);
$data['dataStatus'] = true;
$data['status'] = REST_Controller::HTTP_OK;
$data['record'] = $user_id;

View File

@ -20,9 +20,7 @@ class Welcome extends CI_Controller {
*/
public function index()
{
$this->load->view('welcome_message');
$this->load->view('welcome_message');
}

View File

@ -0,0 +1,38 @@
<?php
class Rentalform
{
public static function getRentalText($rental_data){
$address_property = $rental_data['address_property'];
$address_property = str_replace("\n",' ',$address_property);
$property_text = 'As per person`s met address of the property declared as '.$address_property.' ,'.$rental_data['city'].' ,'.$rental_data['state'].' - '.$rental_data['pincode'].'.';
$property_text .= $rental_data['validate_visited_address'] ? 'The visited property address is also save as above.': 'But The visited Property address is '.str_replace("\n",'',$rental_data['other_visited_address']);
$no_of_persons_showing_property = count($rental_data['person_met']) > 1 ? 'were' : 'was';
$name_of_persons_showing_property = null;
foreach($rental_data['person_met'] as $showed_person){
if($showed_person['id'] != 0)
{
$name_of_persons_showing_property .= $showed_person['name'].' ,';
}
else
{
$name_of_persons_showing_property .= $rental_data['other_person_met'];
}
}
$name_of_persons_showing_property = substr_replace($name_of_persons_showing_property,'and ',strrpos($name_of_persons_showing_property,','),1);
$property_text .= 'The property shown by '.$name_of_persons_showing_property;
echo $property_text;
die();
}
}
?>

View File

@ -418,8 +418,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<hr>
</header>
<!-- Wrap the content of your PDF inside a main tag -->
<?php $loan_form = json_decode($pd_processed_forms[10][0]['processed_json'],true);
$main_applicant_name = $pd_master_details[0]['title_name'].' '.$pd_master_details[0]['main_applicant'];
@ -475,6 +473,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$all_applicant_details = $applicants_details;
?>
<!--<p>Person(s) Met: </p>
<table class="simpletable">
@ -832,7 +832,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php
$address_form = json_decode($pd_processed_forms[5][0]['processed_json'],true);
print_r($address_form);die();
//print_r($address_form);die();
$final_remark_data = json_decode($pd_processed_forms[20][0]['processed_json'],true) ;
$business_assets_details = json_decode($pd_processed_forms[22][0]['processed_json'],true);