team) and $task->mode == 'linear'):?> app->loadLang('execution'); $teamOrders = array(); foreach($task->team as $team) $teamOrders[$team->order] = $team->account; $myOrders = array(); $allEfforts = array(); $recorders = array(); foreach($efforts as $effort) { $order = $effort->order; $account = $effort->account; $allEfforts[$order][] = $effort; $recorders[$order][$account] = $account; if($app->user->account == $account) { if(!isset($myOrders[$order])) $myOrders[$order] = 0; $myOrders[$order] += 1; } } ?>
$count):?> account != $this->app->user->account) continue;?>
task->teamOrder;?> task->date;?> task->recordedBy;?> task->work;?> task->consumedAB;?> task->left;?> actions;?>
date;?> account);?> work;?> consumed . ' ' . $lang->execution->workHourUnit;?> left . ' ' . $lang->execution->workHourUnit;?> task->canOperateEffort($task, $effort); common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'editEstimate' : 'edit', "effortID=$effort->id", '', 'list', 'edit', '', 'showinonlybody', true, $canOperateEffort ? '' : 'disabled'); $deleteDisable = false; if(!$canOperateEffort or ($index == $count and $effort->left == 0)) $deleteDisable = true; common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'deleteEstimate' : 'delete', "effortID=$effort->id", '', 'list', 'trash', 'hiddenwin', 'showinonlybody', false, $deleteDisable ? 'disabled' : ''); ?>
$accounts):?>
task->teamOrder;?> task->date;?> task->recordedBy;?> task->work;?> task->consumedAB;?> task->left;?>
date;?> account);?> work;?> consumed . ' ' . $lang->execution->workHourUnit;?> left . ' ' . $lang->execution->workHourUnit;?>