Commit b2958491 by Jansa Jose

records

parent e3318cd3
......@@ -6253,7 +6253,7 @@ print_r(date('H:i',$ms));exit();*/
$type = '1';
$notificationresult = $this->Webservice_model->get_consultation_transaction_list($authtoken->doctor_id,0,0,$type);
$result = $this->Webservice_model->get_consultation_transaction_list($authtoken->doctor_id,$start,$per_page,$type);
print_r($result);exit();
//print_r($result);exit();
$transArray = array();
if($notificationresult['status'] != 'failed'){
$total = count($notificationresult['data']);
......@@ -6270,7 +6270,7 @@ print_r(date('H:i',$ms));exit();*/
else{
$totalPages = 1;
}
if($result['data'] != ''){
if($result['status'] != 'failed'){
foreach ($result['data'] as $key => $value) {
array_push($transArray, $value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment