From 85c710809148c3bb5877da388f4dc61018a898db Mon Sep 17 00:00:00 2001 From: Leopold Strobl Date: Wed, 25 Feb 2026 09:49:54 +0100 Subject: [PATCH] =?UTF-8?q?Update:=20Verkaufte=20Ger=C3=A4te=20tauchen=20n?= =?UTF-8?q?icht=20mehr=20in=20der=20Versicherungsliste=20auf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/insurance.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dist/insurance.php b/dist/insurance.php index 6e96aaa..7736bfb 100644 --- a/dist/insurance.php +++ b/dist/insurance.php @@ -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[] = [