if ( $task['date_end'] ):?>
= $task['date_end'];?>
else:?>
-
endif;?>
if ( !$task_open ):?>
else:?>
endif;?>
= sprintf( "%02d%s%02d%s%02d", floor( $task['total_time'] / 3600 ), ':', ( $task['total_time'] / 60) % 60, ':', $task['total_time'] % 60 );?>
if ( $open_subtasks = \factory\Projects::count_open_subtasks( $task['id'] ) ):?>
= $open_subtasks;?>
endif;?>
if ( $task['recursively'] ):?>
endif;?>
if ( $task['text'] ):?>
endif;?>
if ( $task['client_id'] ):?>
= \factory\Crm::get_client_name( (int)$task['client_id'] );?>
endif;?>
if ( $task['pay_rate'] and $this -> user['id'] == 1 ):?>
stawka: = $task['pay_rate'];?> zł
endif;?>
= $task['name'];?> if ( $task['actions'] and count( $task['actions'] ) ):?> $count = 0; foreach ( $task['actions'] as $action ) if ( $action['status'] == null ) $count++; if ( $count ) echo '(' . $count . ')';?> endif;?>
if ( is_array( $task['users'] ) ): foreach ( $task['users'] as $user_tmp_id ):?>
$user_tmp = \factory\Users::user_details( $user_tmp_id );
echo '
' . $user_tmp['name'][0] . $user_tmp['surname'][0] . '
';
?>
endforeach; endif;?>