* Refactor the custom plan list.
This commit is contained in:
@@ -71,6 +71,7 @@ function buildBody(array $cols): form
|
||||
|
||||
foreach($cols as $col)
|
||||
{
|
||||
if($_SESSION['currentProductType'] == 'normal' && $col['name'] == 'branch') continue;
|
||||
if($col['type']) $col = array_merge(getDefaultConfig($col['type']), $col);
|
||||
if(!isset($col['fixed']) || empty($col['fixed'])) $col['fixed'] = 'no';
|
||||
$itemsList[$col['fixed']][] = array(
|
||||
|
||||
Reference in New Issue
Block a user