Files
EasySoft-ZenTaoPMS/module/task/ui/close.html.php
T
2023-05-29 15:31:09 +08:00

44 lines
1.0 KiB
PHP

<?php
declare(strict_types=1);
/**
* The close view file of task module of ZenTaoPMS.
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
* @author Shujie Tian<tianshujie@easycorp.ltd>
* @package task
* @link https://www.zentao.net
*/
namespace zin;
formPanel
(
set::title($lang->task->closeAction),
set::headingClass('status-heading'),
set::titleClass('form-label .form-grid'),
to::headingActions
(
entityLabel
(
setClass('my-3 gap-x-3'),
set::level(1),
set::text($task->name),
set::entityID($task->id),
set::reverse(true),
)
),
formGroup
(
set::label($lang->comment),
editor
(
set::name('comment'),
set::rows('5'),
)
),
history()
);
render(isonlybody() ? 'modalDialog' : null);