* Refactor the custom plan list.

This commit is contained in:
tianshujie
2023-07-04 18:32:07 +08:00
parent 25840602af
commit 2cf56e630e
3 changed files with 18 additions and 9 deletions
+1
View File
@@ -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(