close.html.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * The close file of demand module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(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 Qiyu Xie<xieqiyu@easycorp.ltd>
  8. * @package Demand
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. modalHeader();
  13. formPanel
  14. (
  15. formGroup
  16. (
  17. setID('closedReason'),
  18. set::name('closedReason'),
  19. set::label($lang->demand->closedReason),
  20. set::width('1/3'),
  21. set::value(''),
  22. set::items($lang->demand->reasonList),
  23. on::change()->call('setDemand')
  24. ),
  25. formGroup
  26. (
  27. set::hidden(true),
  28. setID('duplicateDemandBox'),
  29. set::required(true),
  30. set::label($lang->demand->duplicateDemand),
  31. set::width('1/3'),
  32. set::value(''),
  33. picker
  34. (
  35. set::placeholder($lang->demand->duplicateTip),
  36. set::name('duplicateDemand'),
  37. set::items($demands)
  38. )
  39. ),
  40. formGroup
  41. (
  42. set::label($lang->comment),
  43. set::control('editor'),
  44. set::name('comment')
  45. )
  46. );
  47. hr();
  48. history();