SMC_Credit_PD_Controller.php edited online with Bitbucket
This commit is contained in:
parent
3702d4d36f
commit
985935f9ef
@ -1528,9 +1528,12 @@ public function filterSalesPDList_post() {
|
||||
$view_data['applicant_details'] = $this->PD_Model->getApplicantsDetails($records['pd_id']);
|
||||
//$pd_section_data = $this->SMC_Credit_PD_Model->selectCustomRecords(array('*'),array('isactive' => 1,'fk_pd_id' => $records['pd_id']),SMC_CREDIT_PD_SECTION_DATA,array(),'','fk_form_id','ASC');
|
||||
$pd_section_data = $this->SMC_Credit_PD_Model->getSMCTemplateForPD($records['pd_id'],$view_data['pd_master_details'][0]['fk_product_id'],null,null,'REPORT');
|
||||
$common_fields = array('pdid'=>111,
|
||||
'product'=>$view_data['pd_master_details'][0]['product_abbr'],
|
||||
'caseno'=>'MWISE00840');
|
||||
//$common_fields = array('pdid'=>111,
|
||||
// 'product'=>$view_data['pd_master_details'][0]['product_abbr'],
|
||||
// 'caseno'=>'MWISE00840');
|
||||
$common_fields = array('pdid'=>$view_data['pd_master_details'][0]['pd_id'],
|
||||
'product'=>$view_data['pd_master_details'][0]['product_abbr'],
|
||||
- 'caseno'=>$view_data['pd_master_details'][0]['pd_sno']);
|
||||
// print_r($pd_section_data);die();
|
||||
$forms_data_to_be_get_direct_from_excel_sheet = array(3,9,10,15);
|
||||
|
||||
@ -1667,7 +1670,7 @@ public function filterSalesPDList_post() {
|
||||
$html_content = $this->load->view('smc_creditpd_reports/MWISE',$view_data,true);
|
||||
}
|
||||
|
||||
exit();
|
||||
// exit();
|
||||
$pdf_name = $view_data['pd_master_details'][0]['main_applicant'];
|
||||
$new_pdf_name = "PD_Report_".$view_data['pd_master_details'][0]['main_applicant'];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user