resolve.html.php 1005 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * The resovle file of nc module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  6. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yuting Wang<wangyuting@easycorp.ltd>
  8. * @package nc
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. $fields = defineFieldList('nc');
  13. $fields->field('resolution')->required(true)->control('picker')->items($lang->nc->resolutionList)->value('fixed')->width('full');
  14. $fields->field('resolvedDate')->required(true)->control('datePicker')->value(helper::today())->width('full');
  15. $fields->field('assignedTo')->control('picker')->items($members)->value($nc->assignedTo)->width('full');
  16. $fields->field('desc')->label($lang->nc->desc)->control('editor')->value($nc->desc)->width('full');
  17. formPanel
  18. (
  19. set::title($title),
  20. set::layout('horz'),
  21. set::fields($fields)
  22. );
  23. history();