diff --git a/lib/zin/wg/productsbox/v1.php b/lib/zin/wg/productsbox/v1.php index 75547cd9e5..b130a2abc2 100644 --- a/lib/zin/wg/productsbox/v1.php +++ b/lib/zin/wg/productsbox/v1.php @@ -190,6 +190,7 @@ class productsBox extends wg set::className('planBox'), picker ( + set::className('pr-2.5'), set::name("plans[{$planProductID}][]"), set::items(!empty($productPlans) ? $productPlans : array()), set::value($currentPlan), diff --git a/module/execution/ui/create.field.php b/module/execution/ui/create.field.php index 505b13abc4..ade0d5b024 100644 --- a/module/execution/ui/create.field.php +++ b/module/execution/ui/create.field.php @@ -5,7 +5,6 @@ global $lang, $config; $fields = defineFieldList('execution.create'); $project = data('project'); $from = data('from'); -$hidden = empty($project->hasProduct) ? 'hidden' : ''; $isStage = isset($project->model) && in_array($project->model, array('waterfall', 'waterfallplus')); $isKanban = data('isKanban'); $showExecutionExec = ($from == 'execution' || $from == 'doc'); @@ -78,7 +77,6 @@ $fields->field('percent') $fields->field('productsBox') ->width('full') - ->className($hidden) ->control(array ( 'control' => 'productsBox',