demand->create;?>

demand->checkForceReview()):?>
/>
createLink('custom', 'ajaxSaveCustomFields', 'module=demand§ion=custom&key=createFields')?> getModuleRoot() . 'common/view/customfield.html.php';?>
demand->checkForceReview() ? 'required' : '';?> demand->checkForceReview() ? '' : html::hidden('needNotReview', 1);?>
demand->demandpool;?> pool) ? $demand->pool : '', "class='form-control picker-select'");?>
demand->product;?>
product) ? $demand->product : '', "class='form-control picker-select' multiple");?>
demand->assignedTo;?> assignedTo) ? $demand->assignedTo: '', "class='form-control picker-select'");?>
demand->source;?>
demand->sourceList, !empty($demand->source) ? $demand->source : '', "class='form-control chosen'");?>
demand->sourceNote;?> sourceNote) ? $demand->sourceNote : '', "class='form-control'");?>
demand->duration;?> demand->durationList, !empty($demand->duration) ? $demand->duration : '', "class='form-control chosen'");?>
demand->BSA;?> demand->bsaList, !empty($demand->BSA) ? $demand->BSA : '', "class='form-control chosen'");?>
demand->feedbackedBy;?>
feedbackBy) ? $demand->feedbackBy : '', "class='form-control'");?>
demand->email;?> mail) ? $demand->mail : '', "class='form-control'");?>
demand->parent;?>
demand->reviewer;?> reviewers) ? $demand->reviewers : '',"class='form-control picker-select' multiple $required");?>
demand->name;?>
title) ? $demand->title : '', "class='form-control' required");?>
demand->category;?> demand->categoryList, !empty($demand->category) ? $demand->category : '', "class='form-control chosen'");?>
demand->pri;?> demand->priList as $priKey => $priValue) { if(!empty($priKey) and (string)$priKey != (string)$priValue) { $hasCustomPri = true; break; } } $pri = 3; unset($lang->demand->priList['']); $priList = $lang->demand->priList; if(end($priList)) unset($priList[0]); if(!isset($priList[$pri])) { reset($priList); $pri = key($priList); } if(!empty($demand->pri)) $pri = $demand->pri; ?>
demand->spec;?> spec) ? $demand->spec : '', "rows='6' class='form-control kindeditor' hidefocus='true'");?>
demand->verify;?> verify) ? $demand->verify : '', "rows='6' class='form-control kindeditor' hidefocus='true'");?>
files;?> files)) echo $this->fetch('file', 'printFiles', array('files' => $demand->files, 'fieldset' => 'false', 'object' => null, 'method' => 'edit', 'showDelete' => true, 'showEdit' => false)); echo $this->fetch('file', 'buildoldform', 'fileCount=1&percent=0.85'); ?>
demand->mailto;?>
mailto) ? $demand->mailto : '', "class='form-control chosen' data-placeholder='{$lang->chooseUsersToMail}' multiple");?> fetch('my', 'buildContactLists');?>
demand->keywords;?> keywords) ? $demand->keywords : '', 'class="form-control"');?>
demand->checkForceReview()):?> save, "id='saveDemand' onclick=save(this)", 'btn btn-primary btn-wide needNotReview');?> demand->saveDraft, 'id="saveDraftDemand" onclick=save(this,"draft")', 'btn btn-secondary btn-wide needNotReview');?> demand->saveDraft, "id='saveDraft' onclick=save(this,'draft')", 'btn btn-primary btn-wide needReview');?> demand->submitReview, "id='submitReview' onclick=save(this)", 'btn btn-secondary btn-wide needReview');?> id);?>