SMC REPORT 4

This commit is contained in:
Velz2020 2020-11-26 19:12:21 +05:30
parent cb53596dad
commit 919986a80d

View File

@ -1306,6 +1306,7 @@ public function filterSalesPDList_post() {
//check excel file in local, otherwise get it from s3 and store locallly
$filename = XLPATH.'/tmp/'.$pd_master_data[0]['modified_fname'];
// $filename = XLPATH.'/tmp/mySMCPD_client_working.xlsx';
// $filename = 'C:\Users\Venba\Downloads\Kathir Info Pvt.xlsx';
// echo $filename;//die();
if(!file_exists($filename))
{
@ -1459,7 +1460,7 @@ public function filterSalesPDList_post() {
//die();
}
}
// print_r($view_data['pd_section_data'][1]);die();
// print_r($view_data['pd_section_data'][8]);die();
$view_data['smc_images'] = $this->SMC_Credit_PD_Model->selectCustomRecords(array('doc_id', 'fk_smc_credit_pd_id','img','img_name','isactive'),array('fk_smc_credit_pd_id' => $records['pd_id'],'isactive' => 1,'img_name!=' => 'satellite'),SMC_CREDIT_PD_DOCS);
$view_data['satellite'] = $this->SMC_Credit_PD_Model->selectCustomRecords(array('doc_id', 'fk_smc_credit_pd_id','img','img_name','isactive'),array('fk_smc_credit_pd_id' => $records['pd_id'],'isactive' => 1,'img_name=' => 'satellite'),SMC_CREDIT_PD_DOCS);
//print_r(count($view_data['smc_images']));die();