unset($_SESSION['current_status']);
?>
/*get previous and next jobs*/
common_cycle::quotes($_GET['id']);
/*get header with action buttons*/
common_main_header::get_header();
?>
/*build table for tasks*/
if($total_task > 0)
{
if($num_task > 0)
{
?>
Task
$tasks->build_table_list();
}
if($num_approvals > 0)
{
?>
Approve
$approvals->build_table_list();
}
if($num_actions > 0)
{
?>
Decide
$actions->build_table_list();
//bug::bug_array('',$actions);
}
}
else
{
$result = common_jobs::get_job_id($_GET['id']);
if($result){
echo "No Current Tasks!
Go to the job";
}else{
echo "No Current Tasks!";
}
}
?>