* Change maxVersion bizVersion proVersion to edition.

This commit is contained in:
liumengyi
2022-02-24 16:15:08 +08:00
parent bdaf8ced98
commit e0814cd74b
33 changed files with 72 additions and 72 deletions
+3 -3
View File
@@ -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':