Update: Verkaufte Geräte tauchen nicht mehr in der Versicherungsliste auf
This commit is contained in:
7
dist/insurance.php
vendored
7
dist/insurance.php
vendored
@@ -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[] = [
|
||||
|
||||
Reference in New Issue
Block a user