CMXX - Healthindex. Added healthindex flag to product to include and exclude products from healthindex

This commit is contained in:
“VeLiTi”
2024-10-08 16:00:22 +02:00
parent 9626b0a849
commit 9ffb1e41a9
6 changed files with 90 additions and 8 deletions

View File

@@ -37,7 +37,8 @@ $product = [
'status' => 1,
'build' => 1,
'partnerhierarchy' => '',
'sn' =>''
'sn' =>'',
'healthindex' =>''
];
if (isset($_GET['id'])) {
@@ -185,6 +186,11 @@ $view .= '<div class="content-block tab-content">
<option value="1" '.($product['salesflag']==1?' selected':'').'>'.$enabled.'</option>
<option value="0" '.($product['salesflag']==0?' selected':'').'>'.$disabled.'</option>
</select>
<label for="sales">'.$view_asset_data_ranking.'</label>
<select id="status" name="healthindex">
<option value="1" '.($product['healthindex']==1?' selected':'').'>'.$enabled.'</option>
<option value="0" '.($product['healthindex']==0?' selected':'').'>'.$disabled.'</option>
</select>
</div>
</div>';