activate.html.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. * The activate view file of marketresearch module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(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 Fangzhou Hu<hufangzhou@easycorp.ltd>
  7. * @package marketresearch
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::title($lang->marketresearch->activate), set::entityText($research->name), set::entityID($research->id));
  12. formPanel
  13. (
  14. formRow
  15. (
  16. formGroup
  17. (
  18. set::width('1/2'),
  19. set::label($lang->execution->beginAndEnd),
  20. inputGroup
  21. (
  22. datePicker
  23. (
  24. set::name('begin'),
  25. set::value($newBegin)
  26. ),
  27. $lang->execution->to,
  28. datePicker
  29. (
  30. set::control('date'),
  31. set::name('end'),
  32. set::value($newEnd)
  33. )
  34. )
  35. ),
  36. formGroup
  37. (
  38. set::width('1/2'),
  39. setClass('items-center'),
  40. checkbox(
  41. set::name('readjustTask'),
  42. set::text($lang->execution->readjustTask),
  43. set::value(1),
  44. set::rootClass('ml-4')
  45. )
  46. )
  47. ),
  48. formGroup
  49. (
  50. set::label($lang->comment),
  51. editor
  52. (
  53. set::name('comment'),
  54. set::rows('6')
  55. )
  56. ),
  57. formHidden('status', 'doing')
  58. );
  59. hr();
  60. history();