";
}
if ($hasWriteAccess) {
$edit_link = "";
// error_log("dgfdgfdfdh $canteen_location_id");
}
if ($hasExecuteAccess) {
$delete_link = "";
}
$space = " ";
$links = $assign_link . $space . $view_link . $space . $edit_link . $space . $delete_link;
$data['rows'][] = array(
'id' => $row_canteen_location['id'],
'cell' => array(
$count ++,
$row_canteen_location['canteen_location'],
$row_canteen_location['type'],
$row_canteen_location['canteen_code'],
$links
)
);
}
echo json_encode($data);
?>