close.html.php 929 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * The close view file of program 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 project
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader();
  12. formPanel
  13. (
  14. formGroup
  15. (
  16. set::width('1/2'),
  17. set::label($lang->program->realEnd),
  18. set::name('realEnd'),
  19. set::control('date'),
  20. set::value(!helper::isZeroDate($program->realEnd) ? $program->realEnd : helper::today()),
  21. set::required(true)
  22. ),
  23. formGroup
  24. (
  25. set::label($lang->comment),
  26. editor
  27. (
  28. set::name('comment'),
  29. set::rows('6')
  30. )
  31. )
  32. );
  33. hr();
  34. history();