* Change maxVersion bizVersion proVersion to edition.
This commit is contained in:
@@ -516,7 +516,7 @@ class programplanModel extends model
|
||||
foreach($datas as $data)
|
||||
{
|
||||
/* Set planDuration and realDuration. */
|
||||
if(isset($this->config->maxVersion))
|
||||
if($this->config->edition == 'max')
|
||||
{
|
||||
$data->planDuration = $this->getDuration($data->begin, $data->end);
|
||||
$data->realDuration = $this->getDuration($data->realBegan, $data->realEnd);
|
||||
@@ -710,7 +710,7 @@ class programplanModel extends model
|
||||
}
|
||||
|
||||
/* Set planDuration and realDuration. */
|
||||
if(isset($this->config->maxVersion))
|
||||
if($this->config->edition == 'max')
|
||||
{
|
||||
$plan->planDuration = $this->getDuration($plan->begin, $plan->end);
|
||||
$plan->realDuration = $this->getDuration($plan->realBegan, $plan->realEnd);
|
||||
@@ -779,7 +779,7 @@ class programplanModel extends model
|
||||
if($id == 'actions') $class .= ' c-actions';
|
||||
|
||||
echo "<td class='{$class}' {$title}>";
|
||||
if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFlowCell('programplan', $plan, $id);
|
||||
if($this->config->edition == 'biz') $this->loadModel('flow')->printFlowCell('programplan', $plan, $id);
|
||||
switch($id)
|
||||
{
|
||||
case 'id':
|
||||
|
||||
Reference in New Issue
Block a user