This commit is contained in:
velz 2018-10-05 11:48:58 +05:30
parent dfc850b784
commit 35f2a136d5
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest auto
// define login route name for token verification
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listLessPDDetails/:any)'); // no errors
defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'saveExistEntity'); // no errors
defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'getListOfPDAllocationTypes'); // no errors
/*********************AWS resources Constants*************************************************/
defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic');

View File

@ -109,7 +109,7 @@ class PD_Controller extends REST_Controller {
public function getListOfPDAllocationTypes_get()
{
$fields = array('pd_allocation_type_id','pd_allocation_type_name','pd_allocation_type_name','default');
$fields = array('pd_allocation_type_id','pd_allocation_type_name','pd_allocation_logic','default');
$where_condition_array = array('isactive' => 1);
$result_data['pd_allocation_type'] = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,PDALLOCATIONTYPE);