Beispiel #1
0
            <th>Date</th>
            <th>Title</th>
            <th>Created By</th>
            <th>Status</th>
            <th>Action</th>
          </tr>
        </thead>
        <tbody>
        
	  <?php 
    $flag = 0;
    $action_flag = 0;
    //echo "<pre>";print_r($record);die;
    if (!empty($record)) {
        foreach ($record as $key => $val) {
            $request_status = $renderObj->get_request_status($val['id']);
            //  echo "<pre>";print_r($request_status);exit;
            //$status = ($request_status['status'] != '' ? $request_status['status'] : 'N/A');
            if (array_key_exists($request_status['status'], $status_flag)) {
                $status = $status_flag[$request_status['status']];
                $action_stat = $status_flag[$request_status['status']];
            } else {
                $status = "Request Not Send";
                $flag = 1;
            }
            $id = $val['id'];
            ?>
        
          <tr>
            <td scope="row"><?php 
            if ($val['work_date'] == "0000-00-00 00:00:00" || $val['work_date'] == '') {