- |
-
-
-
-
-
-
- id);?>
- |
- name;
- $onlyChildStage = ($execution->grade == 2 and $execution->project != $execution->parent);
- if($onlyChildStage and isset($parents[$execution->parent])) $executionName = $parents[$execution->parent]->name . '/' . $executionName;
- ?>
- flex' title=''>
- systemMode == 'new'):?>
- '>execution->typeList[$execution->type]?>
-
- projectModel == 'kanban' ? html::a($this->createLink('execution', 'kanban', 'executionID=' . $execution->id), $executionName, '', "class='text-ellipsis'") : html::a($this->createLink('execution', 'task', 'execution=' . $execution->id), $executionName, '', "class='text-ellipsis'");
- if($onlyChildStage) echo "{$lang->programplan->childrenAB} ";
- echo !empty($execution->children) ? "$execution->name" : $executionLink;
- if(isset($execution->delay)) echo "{$lang->execution->delayed} ";
- ?>
- children)):?>
-
-
- |
-
- code;?> |
-
- systemMode == 'new' and $this->app->tab == 'execution'):?>
-
- projectName;?>
- |
-
- PM);?> |
- processStatus('execution', $execution);?>
-
-
- |
-
- hours->progress); ?>
- |
-
- percent . '%';?> |
- stage->typeList, $execution->attribute, '');?> |
- begin) ? '' : $execution->begin;?> |
- end) ? '' : $execution->end;?> |
- realBegan) ? '' : $execution->realBegan;?> |
- realEnd) ? '' : $execution->realEnd;?> |
-
- id}", $execution, 'list', '', '', 'iframe', true);
- $class = !empty($execution->children) ? 'disabled' : '';
- common::printIcon('task', 'create', "executionID={$execution->id}", $execution, 'list', '', '', $class, false, "data-app='execution'");
-
- if($execution->grade == 1 && $this->loadModel('programplan')->isCreateTask($execution->id))
- {
- common::printIcon('programplan', 'create', "program={$execution->parent}&productID=$productID&planID=$execution->id", $execution, 'list', 'split', '', '', '', '', $this->lang->programplan->createSubPlan);
- }
- else
- {
- $disabled = ($execution->grade == 2) ? ' disabled' : '';
- echo common::hasPriv('programplan', 'create') ? html::a('javascript:alert("' . $this->lang->programplan->error->createdTask . '");', '', '', 'class="btn ' . $disabled . '"') : '';
- }
-
- common::printIcon('programplan', 'edit', "stageID=$execution->id&projectID=$projectID", $execution, 'list', '', '', 'iframe', true);
-
- $disabled = !empty($execution->children) ? ' disabled' : '';
- if($execution->status != 'closed' and common::hasPriv('execution', 'close', $execution))
- {
- common::printIcon('execution', 'close', "stageID=$execution->id", $execution, 'list', 'off', 'hiddenwin' , $disabled . ' iframe', true, '', $this->lang->programplan->close);
- }
- elseif($execution->status == 'closed' and common::hasPriv('execution', 'activate', $execution))
- {
- common::printIcon('execution', 'activate', "stageID=$execution->id", $execution, 'list', 'magic', 'hiddenwin' , $disabled . ' iframe', true, '', $this->lang->programplan->activate);
- }
-
- if(common::hasPriv('execution', 'delete', $execution))
- {
- common::printIcon('execution', 'delete', "stageID=$execution->id&confirm=no", $execution, 'list', 'trash', 'hiddenwin' , $disabled, '', '', $this->lang->programplan->delete);
- }
- ?> |
-
- begin) ? '' : $execution->begin;?> |
- end) ? '' : $execution->end;?> |
- lang->execution->workHour;?>'>hours->totalEstimate . $this->lang->execution->workHourUnit;?> |
- lang->execution->workHour;?>'>hours->totalConsumed . $this->lang->execution->workHourUnit;?> |
- lang->execution->workHour;?>'>hours->totalLeft . $this->lang->execution->workHourUnit;?> |
-
-
-
- burns);?>'> |
-
- " . $this->loadModel('flow')->getFieldValue($extendField, $execution) . "";?>
+ $value) $this->execution->printCell($value, $execution, $users, $useDatatable ? 'datatable' : 'table', $isStage, $productID);?>
children)):?>
-
- children as $key => $child):?>
-
- children)) ? ' table-child-bottom' : '';?>
-
- |
-
-
-
-
-
-
- id);?>
- |
-
- programplan->children}'>{$lang->programplan->childrenAB}";
- echo html::a($this->createLink('execution', 'task', 'execution=' . $child->id), $child->name, '', "class='text-ellipsis'");
- if(isset($child->delay)) echo "{$lang->execution->delayed} ";
- ?>
- |
-
- code;?>
- systemMode == 'new'):?>
- | projectName;?>
-
-
- | PM);?> |
- processStatus('execution', $child);?>
-
-
- |
-
- hours->progress); ?>
- |
-
- percent . '%';?> |
- stage->typeList, $child->attribute, '');?> |
- begin) ? '' : $child->begin;?> |
- end) ? '' : $child->end;?> |
- realBegan) ? '' : $child->realBegan;?> |
- realEnd) ? '' : $child->realEnd;?> |
-
- id}", $child, 'list', '', '', 'iframe', true);
- $class = !empty($child->children) ? 'disabled' : '';
- common::printIcon('task', 'create', "executionID={$child->id}", $child, 'list', '', '', $class, false, "data-app='execution'");
-
- if($child->grade == 1 && $this->loadModel('programplan')->isCreateTask($child->id))
- {
- common::printIcon('programplan', 'create', "program={$child->parent}&productID=$productID&stageID=$child->id", $child, 'list', 'split', '', '', '', '', $this->lang->programplan->createSubPlan);
- }
- else
- {
- $disabled = ($child->grade == 2) ? ' disabled' : '';
- echo html::a('javascript:alert("' . $this->lang->programplan->error->createdTask . '");', '', '', 'class="btn ' . $disabled . '"');
- }
-
- common::printIcon('programplan', 'edit', "stageID=$child->id&projectID=$projectID", $child, 'list', '', '', 'iframe', true);
-
- $disabled = !empty($child->children) ? ' disabled' : '';
- if(common::hasPriv('execution', 'close', $child) and $child->status != 'closed')
- {
- common::printIcon('execution', 'close', "stageID=$child->id", $child, 'list', 'off', '' , $disabled . ' iframe', true, '', $this->lang->programplan->close);
- }
- elseif(common::hasPriv('execution', 'activate', $child) and $child->status == 'closed')
- {
- common::printIcon('execution', 'activate', "stageID=$child->id", $child, 'list', 'magic', '' , $disabled . ' iframe', true, '', $this->lang->programplan->activate);
- }
-
- if(common::hasPriv('execution', 'delete', $child))
- {
- common::printIcon('execution', 'delete', "stageID=$child->id&confirm=no", $child, 'list', 'trash', 'hiddenwin' , $disabled, '', '', $this->lang->programplan->delete);
- }
- ?>
- |
-
- begin;?>'>begin) ? '' : $child->begin;?> |
- end;?>'>end) ? '' : $child->end;?> |
- lang->execution->workHour;?>'>hours->totalEstimate . ' ' . $this->lang->execution->workHourUnit;?> |
- lang->execution->workHour;?>'>hours->totalConsumed . ' ' . $this->lang->execution->workHourUnit;?> |
- lang->execution->workHour;?>'>hours->totalLeft . ' ' . $this->lang->execution->workHourUnit;?> |
- burns);?>'> |
-
- " . $this->loadModel('flow')->getFieldValue($extendField, $child) . "";?>
-
-
-
+
+ children as $key => $child):?>
+
+ children)) ? ' table-child-bottom' : '';?>
+