Update: Verkaufte Geräte tauchen nicht mehr in der Versicherungsliste auf

This commit is contained in:
2026-02-25 09:49:54 +01:00
parent bef9de2c71
commit 85c7108091

7
dist/insurance.php vendored
View File

@@ -81,6 +81,13 @@ foreach ($filteredProductArray as $filteredProduct) {
if($device->condition=="Nicht Versichert"){
continue;
}
//Filtere alle bei denen Sold!=0 ist raus:
if($device->sold_state != 0){
continue;
}
//Sortiere jetzt die Geräte aus, die Nicht aussortiert wurden
if(!$device->is_sorted_out){
$rows[] = [