: time2date($template['task']->date) ?>
state !== '0'): ?>
state_string()] ?>:
time2date($template['task']->close_date) ?>
:
days((int)$template['task']->close_date - (int)$template['task']->date) ?>
#zid ?>
action_string($template['task']->action)]) ?>
(state_string($template['task']->state)]) ?>)
'.$bezlang['executor'].': ' .
$this->model->users->get_user_full_name($template['task']->executor),
'
'.$bezlang['reporter'].': ' .
$this->model->users->get_user_full_name($template['task']->reporter)
);
if ($template['task']->tasktype_string != '') {
$top_row[] =
'
'.$bezlang['task_type'].': ' .
$template['task']->tasktype_string;
}
if ($template['task']->cost != '') {
$top_row[] =
'
'.$bezlang['cost'].': ' .
$template['task']->cost;
}
//BOTTOM ROW
$bottom_row = array(
'
'.$bezlang['plan_date'].': ' .
$template['task']->plan_date
);
if ($template['task']->all_day_event == '0') {
$bottom_row[] =
'
'.$bezlang['start_time'].': ' .
$template['task']->start_time;
$bottom_row[] =
'
'.$bezlang['finish_time'].': ' .
$template['task']->finish_time;
}
echo bez_html_irrtable(array(), $top_row, $bottom_row);
?>
task_cache ?>
id): ?>
id('issue', 'id', $template['issue']->id, 'action', $template['action'], 'tid', $template['tid'], 'state', $template['state']);
} else {
$id = $this->id('task', 'tid', $template['tid'], 'action', $template['action'], 'state', $template['state']);
}
?>
state === '2'): ?>
reason_cache ?>
state === '1'): ?>
reason_cache ?>