* Code for task#53661.
This commit is contained in:
@@ -1163,7 +1163,8 @@ class execution extends control
|
||||
|
||||
/* Get date list. */
|
||||
$executionInfo = $this->execution->getByID($executionID);
|
||||
$endDate = strpos($type, 'withdelay') !== false ? helper::today() : $executionInfo->end;
|
||||
$deadline = $execution->status != 'closed' ? helper::today() : substr($execution->closedDate, 0, 10);
|
||||
$endDate = strpos($type, 'withdelay') !== false ? $deadline : $executionInfo->end;
|
||||
list($dateList, $interval) = $this->execution->getDateList($executionInfo->begin, $endDate, $type, $interval, 'Y-m-d');
|
||||
$chartData = $this->execution->buildBurnData($executionID, $dateList, $type, $burnBy);
|
||||
|
||||
@@ -1928,6 +1929,7 @@ class execution extends control
|
||||
if(!empty($_POST))
|
||||
{
|
||||
$this->loadModel('action');
|
||||
$this->execution->computeBurn($executionID);
|
||||
$changes = $this->execution->close($executionID);
|
||||
if(dao::isError()) return print(js::error(dao::getError()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user