| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /**
- * The fixFirst view file of execution 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 execution
- * @link https://www.zentao.net
- */
- namespace zin;
- to::header(
- span
- (
- set::className('text-md font-bold'),
- $lang->execution->fixFirst
- ),
- span
- (
- setClass('flex gap-x-2 mr-3'),
- $lang->execution->totalEstimate,
- span
- (
- setClass('label secondary-pale rounded-full'),
- $execution->totalEstimate . $lang->execution->workHour
- )
- )
- );
- formPanel
- (
- set::submitBtnText($lang->save),
- set::formClass('border-0'),
- formGroup
- (
- set::label($execution->begin),
- set::placeholder($lang->execution->placeholder->totalLeft),
- inputGroup
- (
- input
- (
- set::name('estimate'),
- set::value(!empty($firstBurn->estimate) ? $firstBurn->estimate : (!empty($firstBurn->left) ? $firstBurn->left : '')),
- set::placeholder($lang->execution->placeholder->totalLeft)
- ),
- checkbox
- (
- set::name('withLeft'),
- set::value(1),
- set::checked(true),
- set::text($lang->execution->fixFirstWithLeft),
- set::rootClass('ml-4 w-1/3 items-center')
- )
- )
- )
- );
|