CUSTOM NOTIFY CHNAGED CLIX LIVE ISSUE
This commit is contained in:
parent
04ddab4b1c
commit
1100eb23fd
@ -238,6 +238,7 @@ $route['getCompaniesListsForBusiness'] = 'PD_Controller/getCompaniesListsFromGen
|
|||||||
$route['getPDImages'] = 'PD_Controller/getPDImages';
|
$route['getPDImages'] = 'PD_Controller/getPDImages';
|
||||||
$route['deactiveFormData'] = 'PD_Controller/deactiveFormData';
|
$route['deactiveFormData'] = 'PD_Controller/deactiveFormData';
|
||||||
$route['getNextRentalCount'] = 'PD_Controller/getNextRentalCount';
|
$route['getNextRentalCount'] = 'PD_Controller/getNextRentalCount';
|
||||||
|
$route['imgPDFDownload'] = 'PD_Controller/imgPDFDownload';
|
||||||
//$route['getTypeOfActivetyFromBusinessJSON'] = 'PD_Controller/getTypeOfActivetyFromBusinessJSON';
|
//$route['getTypeOfActivetyFromBusinessJSON'] = 'PD_Controller/getTypeOfActivetyFromBusinessJSON';
|
||||||
|
|
||||||
//Dashboard and Reports Related routes
|
//Dashboard and Reports Related routes
|
||||||
|
|||||||
@ -37,12 +37,14 @@ class CUSTOM_PDALERTS
|
|||||||
if(ENVIRONMENT == 'production')
|
if(ENVIRONMENT == 'production')
|
||||||
{
|
{
|
||||||
PDALERTS::sendMail($CI,'sinepd@sinemanagement.com',$msg,$core_details);
|
PDALERTS::sendMail($CI,'sinepd@sinemanagement.com',$msg,$core_details);
|
||||||
|
log_message('ERROR','###CUSTOM MAIL TRIGGERED to sinepd@sinemanagement.com');
|
||||||
}
|
}
|
||||||
else if(ENVIRONMENT == 'testing')
|
else if(ENVIRONMENT == 'testing')
|
||||||
{
|
{
|
||||||
//echo 'TESTING';
|
//echo 'TESTING';
|
||||||
PDALERTS::sendMail($CI,'ssa@venbainfotech.com',$msg,$core_details);
|
PDALERTS::sendMail($CI,'ssa@venbainfotech.com',$msg,$core_details);
|
||||||
//PDALERTS::sendMail($CI,'vitvelz@gmail.com',$msg,$core_details);
|
//PDALERTS::sendMail($CI,'vitvelz@gmail.com',$msg,$core_details);
|
||||||
|
log_message('ERROR','###CUSTOM MAIL TRIGGERED to ssa@venbainfotech.com');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -865,7 +865,7 @@ class PD_Model extends SPARQ_Model {
|
|||||||
*/
|
*/
|
||||||
public function getPDMasterDetails($pdid,$random_string = null)
|
public function getPDMasterDetails($pdid,$random_string = null)
|
||||||
{
|
{
|
||||||
$this->db->SELECT('PDTRIGGER.pd_id, PDTRIGGER.pd_sno,PDTRIGGER.fk_lender_id,PDTRIGGER.imgc_fin_institute,ENTITY.full_name as lender_full_name,ENTITY.short_name as lender_short_name,ENTITY.is_score_card_enabled,ENTITY.is_otp_enabled, PDTRIGGER.fk_entity_billing_id,ENTITYBILLING.billing_name,PDTRIGGER.lender_applicant_id, DATE_FORMAT(PDTRIGGER.pd_date_of_initiation, "%d/%m/%Y") as pd_date_of_initiation,PDTRIGGER.pd_date_of_initiation as pd_date_of_initiation_sqlformat, PDTRIGGER.fk_product_id,PRODUCTS.name as product_name,PRODUCTS.abbr as product_abbr, PDTRIGGER.fk_subproduct_id,SUBPRODUCTS.name as subproduct_name,SUBPRODUCTS.abbr as subproduct_abbr, PDTRIGGER.fk_pd_type,PDTYPE.type_name as pd_type_name, PDTRIGGER.pd_status,PDTRIGGER.pd_specific_clarification, DATE_FORMAT(PDTRIGGER.createdon,"%d/%m/%Y %h:%i:%s %p") as createdon, PDTRIGGER.fk_createdby, DATE_FORMAT(PDTRIGGER.updatedon,"%d/%m/%Y %H:%i %p") as updatedon, PDTRIGGER.fk_updatedby,concat(USERPROFILE.first_name," ",USERPROFILE.last_name) as createdby,concat(USERPROFILE1.first_name," ",USERPROFILE1.last_name) as updatedby, PDTRIGGER.fk_pd_allocation_type,,PDALLOCATIONTYPE.pd_allocation_type_name, PDTRIGGER.fk_pd_allocated_to,concat(USERPROFILE2.first_name," ",USERPROFILE2.last_name) as pd_allocated_to,PDTRIGGER.executive_id,concat(EXECUTIVE.first_name," ",EXECUTIVE.last_name) as executive_name,PDTRIGGER.central_pd_officer_id,concat(CENTRALOFFICER.first_name," ",CENTRALOFFICER.last_name) as centralofficer,PDTRIGGER.fk_pd_template_id,TEMPLATE.template_name, PDTRIGGER.fk_customer_segment,CUSTOMERSEGMENT.name as customer_segment_name,CUSTOMERSEGMENT.abbr as customer_segment_abbr, PDTRIGGER.pd_officier_final_judgement, PDTRIGGER.pd_agency_id,AGENCY.full_name as agency_name, PDTRIGGER.loan_amount,PDTRIGGER.addressline1,PDTRIGGER.addressline2,PDTRIGGER.addressline3,PDTRIGGER.fk_city,CITY.name as city_name,PDTRIGGER.fk_state,STATE.name as state_name,PINCODE.pincode,PDTRIGGER.pincode as pincode_id,PDTRIGGER.lender_sales_person,concat(LENDERSALESPERSON.first_name," ",LENDERSALESPERSON.last_name) as lender_sales_person_name,LENDERSALESPERSON.mobile_no as lender_sales_contact_mobileno,LENDERSALESPERSON.email as lender_sales_person_email,PDTRIGGER.lender_credit_person,concat(LENDERCREDITPERSON.first_name," ",LENDERCREDITPERSON.last_name) as lender_credit_person_name,LENDERCREDITPERSON.mobile_no as lender_credit_person_contact_mobileno,LENDERCREDITPERSON.email as lender_credit_person_email,PDTRIGGER.pd_contact_person,PDTRIGGER.pd_contact_mobileno,DATE_FORMAT(PDTRIGGER.scheduled_on,"%d/%m/%Y %h:%i %p") as scheduled_on,PDTRIGGER.scheduled_on as scheduled_on_for_validation,DATE_FORMAT(PDTRIGGER.scheduled_on,"%dth %b %Y ") as scheduled_date_for_log,DATE_FORMAT(PDTRIGGER.scheduled_on,"%h:%i %p") as scheduled_time_for_log,DATE_FORMAT(PDTRIGGER.completed_on,"%d/%m/%Y %h:%i:%s %p") as completed_on,PDTRIGGER.remarks,PDTRIGGER.bounce_reason,PDTRIGGER.bounce_reason_others,BOUNCEMASTER.bounce_reason_name,PDTRIGGER.is_original_report_created,PDTRIGGER.pd_report_latest_version,PDAPPLICANTSDETAILS.applicant_name as main_applicant,PDTRIGGER.pd_branch_id,ENTITYLENDERBRANCH.branch_name,PDTRIGGER.qc_feedback,PDTRIGGER.qc_rating,PDTRIGGER.qc_remarks,PDTRIGGER.lender_rating,PDTRIGGER.lender_feedback,PDAPPLICANTSDETAILS.applicant_title_name,TITLES.name as title_name,PDTRIGGER.pd_contact_landline,PDTRIGGER.other_pincode,PDTRIGGER.is_otp_done,OTPREJECTION.rejection_reason,PDTRIGGER.otp_reject_other_reason,PDTRIGGER.encrypted_url,PDTRIGGER.is_child,PDTRIGGER.parent_pd_id,PDTRIGGER.fk_primary_address_id,PDTRIGGER.fk_address_id,PDTRIGGER.start_location,PDTRIGGER.satellite_image_base64_blob,DATE_FORMAT(PDTRIGGER.pd_report_generated_date,"%d/%m/%Y %h:%i:%s %p") as pd_report_generated_date,DATE_FORMAT(PDTRIGGER.pd_visit_date,"%d/%m/%Y %h:%i:%s %p") as pd_visit_date,PDTRIGGER.random_string,PDTRIGGER.pd_report_html_filename,PDTRIGGER.is_qc_edited,PDTRIGGER.is_zip_created,PDTRIGGER.pd_qc_note,ENTITY.is_sms_enabled,ENTITY.is_mail_enabled,ENTITY.is_app_notify_enabled,PDTRIGGER.is_notify_enabled,ENTITYFININSTITUTION.institute_name as fin_institute_name');
|
$this->db->SELECT('PDTRIGGER.pd_id, PDTRIGGER.pd_sno,PDTRIGGER.fk_lender_id,PDTRIGGER.imgc_fin_institute,ENTITY.full_name as lender_full_name,ENTITY.short_name as lender_short_name,ENTITY.is_score_card_enabled,ENTITY.is_otp_enabled, PDTRIGGER.fk_entity_billing_id,ENTITYBILLING.billing_name,PDTRIGGER.lender_applicant_id, DATE_FORMAT(PDTRIGGER.pd_date_of_initiation, "%d/%m/%Y") as pd_date_of_initiation,PDTRIGGER.pd_date_of_initiation as pd_date_of_initiation_sqlformat, PDTRIGGER.fk_product_id,PRODUCTS.name as product_name,PRODUCTS.abbr as product_abbr, PDTRIGGER.fk_subproduct_id,SUBPRODUCTS.name as subproduct_name,SUBPRODUCTS.abbr as subproduct_abbr, PDTRIGGER.fk_pd_type,PDTYPE.type_name as pd_type_name, PDTRIGGER.pd_status,PDTRIGGER.pd_specific_clarification, DATE_FORMAT(PDTRIGGER.createdon,"%d/%m/%Y %h:%i:%s %p") as createdon, PDTRIGGER.fk_createdby, DATE_FORMAT(PDTRIGGER.updatedon,"%d/%m/%Y %H:%i %p") as updatedon, PDTRIGGER.fk_updatedby,concat(USERPROFILE.first_name," ",USERPROFILE.last_name) as createdby,concat(USERPROFILE1.first_name," ",USERPROFILE1.last_name) as updatedby, PDTRIGGER.fk_pd_allocation_type,,PDALLOCATIONTYPE.pd_allocation_type_name, PDTRIGGER.fk_pd_allocated_to,concat(USERPROFILE2.first_name," ",USERPROFILE2.last_name) as pd_allocated_to,PDTRIGGER.executive_id,concat(EXECUTIVE.first_name," ",EXECUTIVE.last_name) as executive_name,PDTRIGGER.central_pd_officer_id,concat(CENTRALOFFICER.first_name," ",CENTRALOFFICER.last_name) as centralofficer,PDTRIGGER.fk_pd_template_id,TEMPLATE.template_name, PDTRIGGER.fk_customer_segment,CUSTOMERSEGMENT.name as customer_segment_name,CUSTOMERSEGMENT.abbr as customer_segment_abbr, PDTRIGGER.pd_officier_final_judgement, PDTRIGGER.pd_agency_id,AGENCY.full_name as agency_name, PDTRIGGER.loan_amount,PDTRIGGER.addressline1,PDTRIGGER.addressline2,PDTRIGGER.addressline3,PDTRIGGER.fk_city,CITY.name as city_name,PDTRIGGER.fk_state,STATE.name as state_name,PINCODE.pincode,PDTRIGGER.pincode as pincode_id,PDTRIGGER.lender_sales_person,concat(LENDERSALESPERSON.first_name," ",LENDERSALESPERSON.last_name) as lender_sales_person_name,LENDERSALESPERSON.mobile_no as lender_sales_contact_mobileno,LENDERSALESPERSON.email as lender_sales_person_email,PDTRIGGER.lender_credit_person,concat(LENDERCREDITPERSON.first_name," ",LENDERCREDITPERSON.last_name) as lender_credit_person_name,LENDERCREDITPERSON.mobile_no as lender_credit_person_contact_mobileno,LENDERCREDITPERSON.email as lender_credit_person_email,PDTRIGGER.pd_contact_person,PDTRIGGER.pd_contact_mobileno,DATE_FORMAT(PDTRIGGER.scheduled_on,"%d/%m/%Y %h:%i %p") as scheduled_on,PDTRIGGER.scheduled_on as scheduled_on_for_validation,DATE_FORMAT(PDTRIGGER.scheduled_on,"%dth %b %Y ") as scheduled_date_for_log,DATE_FORMAT(PDTRIGGER.scheduled_on,"%h:%i %p") as scheduled_time_for_log,DATE_FORMAT(PDTRIGGER.completed_on,"%d/%m/%Y %h:%i:%s %p") as completed_on,PDTRIGGER.remarks,PDTRIGGER.bounce_reason,PDTRIGGER.bounce_reason_others,BOUNCEMASTER.bounce_reason_name,PDTRIGGER.is_original_report_created,PDTRIGGER.pd_report_latest_version,PDAPPLICANTSDETAILS.applicant_name as main_applicant,PDTRIGGER.pd_branch_id,ENTITYLENDERBRANCH.branch_name,PDTRIGGER.qc_feedback,PDTRIGGER.qc_rating,PDTRIGGER.qc_remarks,PDTRIGGER.lender_rating,PDTRIGGER.lender_feedback,PDAPPLICANTSDETAILS.applicant_title_name,TITLES.name as title_name,PDTRIGGER.pd_contact_landline,PDTRIGGER.other_pincode,PDTRIGGER.is_otp_done,OTPREJECTION.rejection_reason,PDTRIGGER.otp_reject_other_reason,PDTRIGGER.encrypted_url,PDTRIGGER.is_child,PDTRIGGER.parent_pd_id,PDTRIGGER.fk_primary_address_id,PDTRIGGER.fk_address_id,PDTRIGGER.start_location,PDTRIGGER.satellite_image_base64_blob,DATE_FORMAT(PDTRIGGER.pd_report_generated_date,"%d/%m/%Y %h:%i:%s %p") as pd_report_generated_date,DATE_FORMAT(PDTRIGGER.pd_visit_date,"%d/%m/%Y %h:%i:%s %p") as pd_visit_date,PDTRIGGER.random_string,PDTRIGGER.pd_report_html_filename,PDTRIGGER.is_qc_edited,PDTRIGGER.is_zip_created,PDTRIGGER.pd_qc_note,ENTITY.is_sms_enabled,ENTITY.is_mail_enabled,ENTITY.is_app_notify_enabled,PDTRIGGER.is_notify_enabled,ENTITYFININSTITUTION.institute_name as fin_institute_name,PDTRIGGER.is_img_pdf_created');
|
||||||
$this->db->FROM(PDTRIGGER.' as PDTRIGGER');
|
$this->db->FROM(PDTRIGGER.' as PDTRIGGER');
|
||||||
$this->db->JOIN(ENTITY.' as ENTITY','PDTRIGGER.fk_lender_id = ENTITY.entity_id ','LEFT');
|
$this->db->JOIN(ENTITY.' as ENTITY','PDTRIGGER.fk_lender_id = ENTITY.entity_id ','LEFT');
|
||||||
$this->db->JOIN(ENTITYBILLING.' as ENTITYBILLING','PDTRIGGER.fk_entity_billing_id = ENTITYBILLING.entity_billing_id','LEFT');
|
$this->db->JOIN(ENTITYBILLING.' as ENTITYBILLING','PDTRIGGER.fk_entity_billing_id = ENTITYBILLING.entity_billing_id','LEFT');
|
||||||
|
|||||||
@ -97,6 +97,39 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
/* #########End of Mini Score Card Table Styles######### */
|
/* #########End of Mini Score Card Table Styles######### */
|
||||||
|
|
||||||
|
|
||||||
|
/* #########Score Card for personal assest section table getting overlapped ######### */
|
||||||
|
|
||||||
|
.scorecard_table_resonal_assest {
|
||||||
|
/* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
|
||||||
|
/*font-family: Merriweather;*/
|
||||||
|
border-collapse: collapse;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.scorecard_table_resonal_assest td, .scorecard_table_resonal_assest th {
|
||||||
|
border: 1px solid #000;
|
||||||
|
padding: 8px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.scorecard_table_resonal_assest tr:nth-child(even){background-color: #f2f2f2; }
|
||||||
|
|
||||||
|
.scorecard_table_resonal_assest tr:hover {background-color: #ddd;}
|
||||||
|
|
||||||
|
.scorecard_table_resonal_assest th {
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #0191ed;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
||||||
|
/* #########End of Score Card Table Styles######### */
|
||||||
|
|
||||||
|
|
||||||
/* #########End of Mini Score Card Div Styles######### */
|
/* #########End of Mini Score Card Div Styles######### */
|
||||||
#rcorners_green {
|
#rcorners_green {
|
||||||
|
|
||||||
@ -4069,25 +4102,32 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
|
|
||||||
|
|
||||||
The table below lists the details of Existing Loan Obligations of the Loan Applicants.
|
The table below lists the details of Existing Loan Obligations of the Loan Applicants.
|
||||||
<table class="scorecard_table">
|
<br><br>
|
||||||
<thead>
|
<?php
|
||||||
|
$pre_loan_no = 0;
|
||||||
|
foreach($existLoanResult as $table_key => $single_table){
|
||||||
|
//print_r($single_table);die();
|
||||||
|
?>
|
||||||
|
<table class="scorecard_table_resonal_assest" >
|
||||||
|
<!-- <thead> -->
|
||||||
<tr>
|
<tr>
|
||||||
<th>Particulars</th>
|
<th>Particulars</th>
|
||||||
<?php for($header = 1;$header <= $existLoanResult['total_header']; $header++ ) {echo "<th>Loan $header</th>";}?>
|
<?php for($header = 1;$header <= $single_table['total_header']; $header++ )
|
||||||
|
{ $pre_loan_no++; echo "<th>Loan $pre_loan_no</th>"; } ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
<!-- </thead> -->
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
echo $existLoanResult['first_row'];
|
echo $single_table['first_row'];
|
||||||
echo $existLoanResult['second_row'];
|
echo $single_table['second_row'];
|
||||||
//echo $existLoanResult['third_row'];
|
//echo $existLoanResult['third_row'];
|
||||||
echo $existLoanResult['fourth_row'];
|
echo $single_table['fourth_row'];
|
||||||
echo $existLoanResult['fifth_row'];
|
echo $single_table['fifth_row'];
|
||||||
echo $existLoanResult['sixth_row'];
|
echo $single_table['sixth_row'];
|
||||||
echo $existLoanResult['seventh_row'];
|
echo $single_table['seventh_row'];
|
||||||
echo $existLoanResult['eigth_row'];
|
echo $single_table['eigth_row'];
|
||||||
echo $existLoanResult['ninth_row'];
|
echo $single_table['ninth_row'];
|
||||||
echo $existLoanResult['tenth_row'];
|
echo $single_table['tenth_row'];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -4095,6 +4135,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||||||
</table>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
//
|
//
|
||||||
|
}
|
||||||
}
|
}
|
||||||
elseif (!strcasecmp($is_all_loan_details_availble,'no') && ($out_standing_loan_info['tot_running_loans']))
|
elseif (!strcasecmp($is_all_loan_details_availble,'no') && ($out_standing_loan_info['tot_running_loans']))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user