: time2date($template['task']->date) ?>
state !== '0'): ?>
state_string($template['task']->state)] ?>:
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)]) ?>)
cost == '' && $template['task']->all_day_event == '1') {
$plan_date_colspan = 3;
} elseif ($template['task']->cost == '' && $template['task']->all_day_event == '0') {
/*leave default*/
} elseif ($template['task']->cost != '' && $template['task']->all_day_event == '1') {
$plan_date_colspan = 4;
} elseif ($template['task']->cost != '' && $template['task']->all_day_event == '0') {
$finish_time_colspan = 2;
}
$td_with_colspan = function($colspan) {
if ($colspan === 1) {
echo '
';
} else {
echo ' | ';
}
}
?>
:
model->users->get_user_full_name($template['task']->executor) ?>
|
:
model->users->get_user_full_name($template['task']->reporter) ?>
|
tasktype_string != ''): ?>
:
tasktype_string ?>
cost != ''): ?>
:
cost ?>
:
plan_date ?>
all_day_event == '0'): ?>
:
start_time ?> |
:
finish_time ?>
task_cache ?>
state == '2'): ?>
reason_cache ?>
state == '1'): ?>
reason_cache ?>
|