bugs.html.php 916 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The tasks view file of story module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Sun Guangming<sunguangming@easycorp.ltd>
  7. * @package story
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::titleClass('icon icon-bar-chart'));
  12. foreach($config->story->bugTable->fieldList as $key => $field)
  13. {
  14. $config->story->bugTable->fieldList[$key]['sort'] = true;
  15. unset($config->story->bugTable->fieldList[$key]['sortType']);
  16. }
  17. $tableData = initTableData($bugs, $config->story->bugTable->fieldList, $this->story);
  18. dtable
  19. (
  20. set::groupDivider(true),
  21. set::userMap($users),
  22. set::cols($config->story->bugTable->fieldList),
  23. set::data($tableData)
  24. );