report->execution . $lang->report->begin;?>
report->execution . $lang->report->end;?>
config->edition != 'open'):?> array(), 'data' => array());?>
error->noData;?>
report->id;?> | report->project;?> | report->execution;?> | report->estimate;?> | report->consumed;?> | report->deviation;?> | report->deviationRate;?> |
---|---|---|---|---|---|---|
name ? $execution->projectName : html::a($this->createLink('project', 'index', "projectID=$execution->projectID"), $execution->projectName);?> | multiple):?> name ? html::a($this->createLink('execution', 'view', "executionID=$id"), $execution->name) : '';?> null;?> | estimate, 2);?> | consumed, 2);?> | consumed - $execution->estimate, 2);?>0) { echo '↑' . $deviation; } else if($deviation < 0) { echo '↓' . abs($deviation); } else { echo '0'; } ?> | estimate ? round($deviation / $execution->estimate * 100, 2) : 'n/a'; if($num >= 50) { echo '' . $num . '%'; } elseif($num >= 30) { echo '' . $num . '%'; } elseif($num >= 10) { echo '' . $num . '%'; } elseif($num > 0) { echo '' . abs($num) . '%'; } elseif($num <= -20) { echo '' . abs($num) . '%'; } elseif($num < 0) { echo '' . abs($num) . '%'; } elseif($num == 'n/a') { echo '' . $num . ''; } else { echo '' . abs($num) . '%'; } $chartData['labels'][] = $execution->name; $chartData['data'][] = $deviation; ?> |