LENDER ASC ORDER
This commit is contained in:
parent
5c929baf86
commit
dac7783b3e
@ -94,7 +94,7 @@ class PD_Controller extends REST_Controller {
|
||||
{
|
||||
$fields = array('entity_id','full_name','short_name');
|
||||
$where_condition_array = array('isactive' => 1,'fk_entity_type_id' => 2);
|
||||
$result_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,ENTITY);
|
||||
$result_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,ENTITY,array(),'','full_name');
|
||||
if(count($result_data))
|
||||
{
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
class readexceldata
|
||||
{
|
||||
private static $current_section_id = null;
|
||||
private static $current_excel_file_id = 9999;
|
||||
private static $current_excel_file_id = null;
|
||||
public static function getExcelSectionData($file_path_withname,$section_id = null,$pd_id = null,$excel_file_id = null)
|
||||
{
|
||||
$CI =&get_instance();
|
||||
@ -101,6 +101,8 @@ class readexceldata
|
||||
{
|
||||
$return_data = SELF::getTriggerData($sheetData,$section_ref_data);
|
||||
//store address details in temp table SMC_TEMP_ADDRESS
|
||||
if(SELF::$current_excel_file_id)
|
||||
{
|
||||
if(array_key_exists('address_details', $return_data))
|
||||
{
|
||||
foreach ($return_data['address_details'] as $key => $address)
|
||||
@ -130,6 +132,7 @@ class readexceldata
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ($return_data);
|
||||
|
||||
@ -276,7 +279,7 @@ class readexceldata
|
||||
$return_data = array();
|
||||
foreach ($arr as $key => $value)
|
||||
{
|
||||
if(is_string($value) || is_numeric($value))
|
||||
if((is_string($value) && $value != '') || is_numeric($value))// && $value != '')
|
||||
// if($value)
|
||||
{
|
||||
$return_data[$key] = $value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user