| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * The create view file of branch 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 Yanyi Cao<caoyanyi@easycorp.ltd>
- * @package branch
- * @link https://www.zentao.net
- */
- namespace zin;
- formPanel
- (
- set::id('createBranchForm'),
- set::title(sprintf($lang->branch->create, $lang->product->branchName[$product->type])),
- set::shadow(!isInModal()),
- formGroup
- (
- set::label(sprintf($lang->branch->name, $lang->product->branchName[$product->type])),
- set::required(true),
- set::name('name'),
- set::control('input')
- ),
- formGroup
- (
- set::label(sprintf($lang->branch->desc, $lang->product->branchName[$product->type])),
- textarea
- (
- set::name('desc'),
- set::rows('5')
- )
- )
- );
- render();
|