@@ -35,13 +36,22 @@ productplan->product;?> name;?> + type != 'normal'):?> product->branch;?> + $branchName) + { + if(strpos(",$parentPlan->branch,", ",$branchID,") === false) unset($branches[$branchID]); + } + } + ?> - productplan->title;?> @@ -79,7 +89,6 @@ id);?> - branch);?>