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

@@ -112,6 +112,25 @@ $view .= '
<button type="submit">'.$button_apply.'</button>
<a class="cancel_link" style="color: #FFFFFF;text-decoration: none;" href="index.php?page=report_healthindex">'.$general_filters_clear.'</a>
</div>
</div>
<div class="sort">
<a href="#"><i class="fa-solid fa-sort"></i>'.$general_sort.'</a>
<div class="list">
<select name="sort">
<option value="" disabled selected>'.$general_sort.'</option>
<option value="1"'.($sort==1?' selected':'').'>'.$equipment_label2.' '.$general_sort_type_1.'</option>
<option value="2"'.($sort==2?' selected':'').'>'.$equipment_label2.' '.$general_sort_type_2.'</option>
<option value="3"'.($sort==3?' selected':'').'>'.$equipment_label3.' '.$general_sort_type_1.'</option>
<option value="4"'.($sort==4?' selected':'').'>'.$equipment_label3.' '.$general_sort_type_2.'</option>
<option value="5"'.($sort==5?' selected':'').'>'.$warranty_status.' '.$general_sort_type_1.'</option>
<option value="6"'.($sort==6?' selected':'').'>'.$warranty_status.' '.$general_sort_type_2.'</option>
<option value="7"'.($sort==7?' selected':'').'>'.$service_status.' '.$general_sort_type_1.'</option>
<option value="8"'.($sort==8?' selected':'').'>'.$service_status.' '.$general_sort_type_2.'</option>
<option value="9"'.($sort==9?' selected':'').'>'.$view_asset_data_ranking .' '.$general_sort_type_2.'</option>
<option value="10"'.($sort==10?' selected':'').'>'.$view_asset_data_ranking .' '.$general_sort_type_1.'</option>
</select>
<button type="submit">'.$button_apply.'</button>
</div>
</div>
';