MERGE_CODE_MERGE : RV
This commit is contained in:
parent
5c3978e556
commit
cfb3d25c96
@ -482,7 +482,7 @@ class LeadsController extends BaseController
|
|||||||
//FOR EXCEL
|
//FOR EXCEL
|
||||||
public function exportExcelForQCRandRFQ($lead_id, $type)
|
public function exportExcelForQCRandRFQ($lead_id, $type)
|
||||||
{
|
{
|
||||||
//$filepath = $this->constructExcelToSaveTemp($lead_id, $type);
|
$filepath = $this->constructExcelToSaveTemp($lead_id, $type);
|
||||||
$filepath = $filepath['filePath'];
|
$filepath = $filepath['filePath'];
|
||||||
|
|
||||||
if (file_exists($filepath)) {
|
if (file_exists($filepath)) {
|
||||||
@ -734,10 +734,11 @@ class LeadsController extends BaseController
|
|||||||
{
|
{
|
||||||
$lead_id = $params['lead_id'];
|
$lead_id = $params['lead_id'];
|
||||||
$lead_data = $this->leadsModel->find($lead_id);
|
$lead_data = $this->leadsModel->find($lead_id);
|
||||||
|
$file_name_with_path = WRITEPATH."/uploads/lead_files/".$lead_data['file_name'];
|
||||||
|
|
||||||
// print_rr($lead_data);
|
// print_rr($lead_data);
|
||||||
if($lead_data['file_name'])
|
if($lead_data['file_name'])
|
||||||
{
|
{
|
||||||
$file_name_with_path = WRITEPATH."/uploads/lead_files/".$lead_data['file_name'];
|
|
||||||
|
|
||||||
//check physical file
|
//check physical file
|
||||||
if(!file_exists($file_name_with_path))
|
if(!file_exists($file_name_with_path))
|
||||||
@ -766,7 +767,7 @@ class LeadsController extends BaseController
|
|||||||
|
|
||||||
//check age or dob column
|
//check age or dob column
|
||||||
$members_heading = $members[0];
|
$members_heading = $members[0];
|
||||||
Kint::dump($members_heading);
|
// Kint::dump($members_heading);
|
||||||
$available_col = null;
|
$available_col = null;
|
||||||
$col_index = null;
|
$col_index = null;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user