";
}
if ($hasWriteAccess) {
$edit_link = "";
}
if ($hasExecuteAccess) {
$delete_link = "";
}
$space = " ";
$links = $assign_link . $space . $view_link . $space . $edit_link . $space . $delete_link;
//$waste_category_name = getTableFieldValue ( 'waste_category', 'waste_category_name', 'waste_category_id', $row1['waste_category'] );
//$ohc_type_name = getTableFieldValue ( 'ohc_type ', 'ohc_type_name', 'ohc_type_id ', $row1['ohc_type_id '] );
$data ['rows'] [] = array (
'id' => $row1 ['id'],
'cell' => array (
$links,
$count ++,
$row1['oxygen_kit_no'],
$row1 ['type'],
date_format ( date_create ( $row1 ['date_n_time'] ), "d-M-Y H:i:s" ),
)
);
}
commit();
$data['rows'][] = array(
'id' => $row['filterkey'],
'cell' => array('', "", "", '', '','', '', '', '', '', '', '', '','', '', '','', '', '','')
);
echo json_encode($data);
?>