id = $context['id']; $this->style = $context['style']; } public function set() { global $database; $results = common_workflow::get_details($this->id); $this->results =& $results; return $this; } public function details() { extract($this->results); ?>

Details

Type:
   
Action Name:
Description:
   
Stage:
   
Tasks 
 
'; $task_template_html .= '
Name
'; $task_template_html .= '
Groups
'; $task_template_html .= '
Departments
'; $task_template_html .= '
 
'; $task_template_html .= '
'; $task_template_html .= '
'; echo $task_template_html; foreach($tasks AS $task) { $task_template_html = '
'; $task_template_html .= '
'; $task_template_html .= $task['name']; $task_template_html .= '
'; $task_template_html .= '
'; foreach($task['groups'] AS $group) $task_template_html .= $group['name']."
"; $task_template_html .= '
'; $task_template_html .= '
'; foreach($task['departments'] AS $department) $task_template_html .= $department['name']."
"; $task_template_html .= '
'; $task_template_html .= '
'; $task_template_html .= '
'; echo $task_template_html; } ?>
   
details(); /* $this->details(); $this->items(); $this->notes(); $this->terms();*/ ?>
client_details(); ?>
details(); ?>
items(); ?>
notes(); ?>
payment_info(); ?>
terms(); return $this; } public function view_email() { $this->style_table_width = 'style="width:800px;"'; $this->style_left = 'style="width:150px;"'; $this->client_details(); ?>
details(); ?>
items(); ?>
notes(); ?>
payment_info(); ?>
terms(); return $this; } } ?>