29 lines
941 B
PHP
29 lines
941 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
/**
|
|
* The tasks view file of story module of ZenTaoPMS.
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
|
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
* @author Sun Guangming<sunguangming@easycorp.ltd>
|
|
* @package story
|
|
* @link https://www.zentao.net
|
|
*/
|
|
namespace zin;
|
|
|
|
modalHeader(set::titleClass('icon icon-bar-chart'));
|
|
foreach($config->story->bugTable->fieldList as $key => $field)
|
|
{
|
|
$config->story->bugTable->fieldList[$key]['sort'] = true;
|
|
unset($config->story->bugTable->fieldList[$key]['sortType']);
|
|
}
|
|
|
|
$tableData = initTableData($bugs, $config->story->bugTable->fieldList, $this->story);
|
|
|
|
dtable
|
|
(
|
|
set::groupDivider(true),
|
|
set::userMap($users),
|
|
set::cols($config->story->bugTable->fieldList),
|
|
set::data($tableData)
|
|
);
|