* finish task #6048.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div class='input-group'>
|
||||
<?php echo html::select('product', $products, $build->product, "onchange='loadBranches(this.value);' class='form-control chosen' required");?>
|
||||
<?php
|
||||
if($build->productType != 'normal')
|
||||
if($build->productType != 'normal' and isset($branches[$product->branch]))
|
||||
{
|
||||
if($product->branch) $branches = array($product->branch => $branches[$product->branch]);
|
||||
echo "<span class='input-group-addon fix-padding fix-border'></span>" . html::select('branch', $branches, $build->branch, "class='form-control chosen'");
|
||||
|
||||
Reference in New Issue
Block a user