From bfe3bcf3dda57a90cfe78767d9fb20d888ba7ad0 Mon Sep 17 00:00:00 2001
From: Yagami <976204163@qq.com>
Date: Fri, 23 Jul 2021 15:10:39 +0800
Subject: [PATCH] * Code for task #40447.
---
module/project/model.php | 1 +
module/project/view/create.html.php | 2 +-
module/project/view/edit.html.php | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/module/project/model.php b/module/project/model.php
index 034b5be454..f4cc4dc8e2 100644
--- a/module/project/model.php
+++ b/module/project/model.php
@@ -1335,6 +1335,7 @@ class projectModel extends model
if($id == 'surplus') $title = "title='{$project->hours->totalLeft} {$this->lang->execution->workHour}'";
echo "
";
+ if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFlowCell('project', $project, $id);
switch($id)
{
case 'id':
diff --git a/module/project/view/create.html.php b/module/project/view/create.html.php
index 5116b031bd..86780109a7 100644
--- a/module/project/view/create.html.php
+++ b/module/project/view/create.html.php
@@ -136,13 +136,13 @@
|
- printExtendFields('', 'table');?>
| project->desc;?> |
|
+ printExtendFields('', 'table', 'columns=3');?>
| project->acl;?> |
project->aclList, $acl, "onclick='setWhite(this.value);'", 'block'));?> |
diff --git a/module/project/view/edit.html.php b/module/project/view/edit.html.php
index bae7c19025..6937bce74f 100644
--- a/module/project/view/edit.html.php
+++ b/module/project/view/edit.html.php
@@ -149,6 +149,7 @@
desc, "rows='6' class='form-control kindeditor' hidefocus='true'" . (strpos($requiredFields, 'desc') !== false ? ' required' : ''));?>
+ printExtendFields('', 'table', 'columns=3');?>
| project->acl;?> |
acl, "onclick='setWhite(this.value);'", 'block'));?> |