* finish task #4725.

This commit is contained in:
wangyidong
2018-09-12 15:00:21 +08:00
parent 39afe7c3fc
commit 2d30ee8a97
4 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -383,7 +383,7 @@ class product extends control
$this->product->setMenu($this->products, $productID);
$releases = $this->dao->select('*')->from(TABLE_RELEASE)->where('deleted')->eq(0)->andWhere('product')->eq($productID)->orderBy('date')->fetchAll();
$plans = $this->loadModel('productplan')->getList($productID, 0, 'unexpired', null, 'begin');
$this->view->title = $product->name . $this->lang->colon . $this->lang->product->view;
$this->view->position[] = html::a($this->createLink($this->moduleName, 'browse'), $product->name);
@@ -395,7 +395,7 @@ class product extends control
$this->view->lines = array('') + $this->loadModel('tree')->getLinePairs();
$this->view->branches = $this->loadModel('branch')->getPairs($productID);
$this->view->dynamics = $this->loadModel('action')->getDynamic('all', 'all', 'date_desc', $pager = null, $productID);
$this->view->releases = $releases;
$this->view->plans = $plans;
$this->display();
}