CHANGE_CLIENT_POLICY_CLIENT_BRANCH_IS_ACTIVE : RV
This commit is contained in:
parent
5f92cccad6
commit
2d888d57fb
@ -2550,12 +2550,14 @@ class ClientController extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//for this function policy binding dropdown list use ( client policy )
|
||||||
public function getClientBranch($client_id)
|
public function getClientBranch($client_id)
|
||||||
{
|
{
|
||||||
|
|
||||||
$branchs = $this->clientBranchModel
|
$branchs = $this->clientBranchModel
|
||||||
->select('*')
|
->select('*')
|
||||||
->where('client_id', $client_id)
|
->where('client_id', $client_id)
|
||||||
|
->where('is_active', 1)
|
||||||
->findAll();
|
->findAll();
|
||||||
|
|
||||||
return $this->respond(['status' => true, 'code' => 200, 'data' => $branchs], 200);
|
return $this->respond(['status' => true, 'code' => 200, 'data' => $branchs], 200);
|
||||||
|
|||||||
@ -3854,7 +3854,7 @@ class EmpDataServiceController extends BaseController
|
|||||||
//end not in use
|
//end not in use
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The below functions are Calculates and records cash deposits for employee policies at inception.
|
* The below functions are Calculates and records cash deposits for employee policies at Deletion.
|
||||||
*
|
*
|
||||||
* @param array $arrayData An array containing necessary data including :
|
* @param array $arrayData An array containing necessary data including :
|
||||||
* - employee IDs,
|
* - employee IDs,
|
||||||
@ -4056,7 +4056,7 @@ class EmpDataServiceController extends BaseController
|
|||||||
AND emp_endorsement.field_name = 'date_of_exit'
|
AND emp_endorsement.field_name = 'date_of_exit'
|
||||||
")->getRow();
|
")->getRow();
|
||||||
|
|
||||||
dd(db_connect()->getLastQuery(), $amount);
|
// dd(db_connect()->getLastQuery(), $amount);
|
||||||
|
|
||||||
if($amount){
|
if($amount){
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user