key stakeholders Fixes : ps
This commit is contained in:
parent
78f42874fb
commit
b3998cf9b1
@ -1379,6 +1379,7 @@ public function filterSalesPDList_post() {
|
|||||||
// $filename = 'C:\Users\Venba\Documents\Test Demo17_dev_LFMP.xls';
|
// $filename = 'C:\Users\Venba\Documents\Test Demo17_dev_LFMP.xls';
|
||||||
// $filename = 'C:\Users\Venba\Downloads\Test Demo17_dev.xlsx';
|
// $filename = 'C:\Users\Venba\Downloads\Test Demo17_dev.xlsx';
|
||||||
// echo $filename;die();
|
// echo $filename;die();
|
||||||
|
// $filename = '/home/venba/Downloads/Sample_CET_Upload4.xls';
|
||||||
if(!file_exists($filename))
|
if(!file_exists($filename))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -103,7 +103,7 @@ class readexceldata
|
|||||||
if($product_abbr == "LFMP"){ // ### LFMP Started Here.
|
if($product_abbr == "LFMP"){ // ### LFMP Started Here.
|
||||||
$LFMP_company_data = SELF::getCompanyListForSMCList($file);
|
$LFMP_company_data = SELF::getCompanyListForSMCList($file);
|
||||||
$companycount = (count($LFMP_company_data)>0) ? count($LFMP_company_data) : 1;
|
$companycount = (count($LFMP_company_data)>0) ? count($LFMP_company_data) : 1;
|
||||||
for($i = 0;$i <= $companycount; $i++)
|
for($i = 0;$i < $companycount; $i++)
|
||||||
{
|
{
|
||||||
$j =0 ; //### temp inx (bcoz maran asked)
|
$j =0 ; //### temp inx (bcoz maran asked)
|
||||||
foreach ($return_data['key_stakeholders'] as $key => $value)
|
foreach ($return_data['key_stakeholders'] as $key => $value)
|
||||||
|
|||||||
@ -109,7 +109,7 @@ class Data_Dump_Model extends SPARQ_Model {
|
|||||||
$this->db->order_by('PDFORMDETAILSJSON.pd_form_detail_json_id','desc');
|
$this->db->order_by('PDFORMDETAILSJSON.pd_form_detail_json_id','desc');
|
||||||
$this->db->limit(5);
|
$this->db->limit(5);
|
||||||
$result = $this->db->get()->result_array();
|
$result = $this->db->get()->result_array();
|
||||||
echo count($result);print_r($result);print_r($this->db->last_query());die();
|
// echo count($result);print_r($result);print_r($this->db->last_query());die();
|
||||||
return $result;
|
return $result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user