smartpd-report enqueued check removed : ps

This commit is contained in:
VE10-Sanjeev 2022-04-06 11:49:47 +05:30
parent 8ea2beb02a
commit da2db735b5

View File

@ -4919,14 +4919,14 @@ public function getPDFormDetailsJSON_post()
$data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Image ZIP'.', ') : 'Image ZIP, '; $data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Image ZIP'.', ') : 'Image ZIP, ';
} }
if($pd_master_details[0]['fk_pd_type'] == 2) // if($pd_master_details[0]['fk_pd_type'] == 2)
{ // {
$video_status = $this->PD_Model->selectCustomRecords(array('count(*) as count'),array('isactive' => 1,'twilo_status' => 'enqueued','fk_pd_id' => $pdid),VIDEO_ROOM_INFO); // $video_status = $this->PD_Model->selectCustomRecords(array('count(*) as count'),array('isactive' => 1,'twilo_status' => 'enqueued','fk_pd_id' => $pdid),VIDEO_ROOM_INFO);
if($video_status[0]['count'] != 0) // if($video_status[0]['count'] != 0)
{ // {
$data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Some videos'.', ') : 'Some videos, '; // $data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Some videos'.', ') : 'Some videos, ';
} // }
} // }
// print_r($data); // print_r($data);
// echo strrpos($data['msg'], ','); // echo strrpos($data['msg'], ',');
if(isset($data['msg']) && $data['msg'] != '') if(isset($data['msg']) && $data['msg'] != '')