* @package execution * @version $Id: index.html.php 5094 2013-07-10 08:46:15Z chencongzhi520@gmail.com $ */ ?>

execution->noExecutions : $lang->execution->noExecution;?> createLink('programplan', 'create', "projectID=$projectID&productID=$productID"), " " . $lang->programplan->create, '', "class='btn btn-info'");?> createLink('execution', 'create', "projectID=$projectID"), " " . (($from == 'execution' and $config->systemMode == 'new') ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='execution'");?>

' data-ride='table'> recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}";?> systemMode == 'new' and $this->app->tab == 'execution'):?> execution->getFlowExtendFields(); foreach($extendFields as $extendField) echo ""; ?> name; $onlyChildStage = ($execution->grade == 2 and $execution->project != $execution->parent); if($onlyChildStage and isset($parents[$execution->parent])) $executionName = $parents[$execution->parent]->name . '/' . $executionName; ?> systemMode == 'new' and $this->app->tab == 'execution'):?> processStatus('execution', $execution);?> " . $this->loadModel('flow')->getFieldValue($extendField, $execution) . "";?> children)):?> children as $key => $child):?> children)) ? ' table-child-bottom' : '';?> processStatus('execution', $child);?> " . $this->loadModel('flow')->getFieldValue($extendField, $child) . "";?>
idAB);?>
systemMode == 'new') ? $lang->execution->execName : $lang->execution->name);?> systemMode == 'new') ? $lang->execution->execCode : $lang->execution->code);?> execution->projectName);?> execution->owner);?> execution->execStatus : $lang->execution->status);?> execution->progress;?> programplan->percent);?> programplan->attribute);?> execution->begin);?> execution->end);?> execution->realBegan);?> execution->realEnd);?> actions;?> execution->begin);?> execution->end);?> execution->totalEstimate;?> execution->totalConsumed;?> execution->totalLeft;?> execution->burn;?> {$extendField->name}
id);?>
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;?> projectName;?> PM);?> 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);?>'>
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);?> 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);?>'>