batchcreatecard.html.php 1.7 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The batchcreatecard view file of kanban 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 Yuting Wang <wangyuting@easycorp.ltd>
  7. * @package kanban
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader(set::title($lang->kanban->batchCreateCard), set::titleClass('text-lg font-bold'));
  12. $items = array();
  13. $items[] = array('name' => 'name', 'label' => $lang->kanbancard->name, 'control' => 'input', 'width' => '180px', 'required' => true);
  14. $items[] = array('name' => 'lane', 'label' => $lang->kanbancard->lane, 'control' => 'picker', 'width' => '160px', 'items' => $lanePairs, 'ditto' => true, 'required' => true);
  15. $items[] = array('name' => 'assignedTo', 'label' => $lang->kanbancard->assignedTo, 'control' => 'picker', 'width' => 'auto', 'multiple' => true, 'items' => $users, 'value' => $app->user->account);
  16. $items[] = array('name' => 'estimate', 'label' => $lang->kanbancard->estimate, 'control' => 'input', 'width' => '60px');
  17. $items[] = array('name' => 'begin', 'label' => $lang->kanbancard->begin, 'control' => 'datePicker', 'width' => '160px', 'ditto' => true);
  18. $items[] = array('name' => 'end', 'label' => $lang->kanbancard->end, 'control' => 'datePicker', 'width' => '160px', 'ditto' => true);
  19. $items[] = array('name' => 'pri', 'label' => $lang->kanbancard->pri, 'control' => 'priPicker', 'width' => '80px', 'items' => $lang->kanbancard->priList, 'value' => '3');
  20. formBatchPanel
  21. (
  22. set::items($items)
  23. );
  24. render();