require('jobs_view_header.php');
?>
common_cycle::jobs($_GET['id']);
common_main_header::get_header();
$context = array(
"id" => $_GET['id'],
//"db_name" => DB_ACCOUNTS,
"status" => $_GET['status'],
"department_id" => $_GET['department_id'],
"status_table" => 'jobs'
);
$obj = new list_job_materials($context );
$form = new form_job_materials($context);
$form->set();
$show_edit = common_jobs::get_parent_job_id($_GET['id']);
if(!$show_edit)
{
$form->form();
}
$obj->get_data()->show();
?>