Addet Filter for disabled Articles

This commit is contained in:
2026-03-16 14:00:39 +01:00
parent 81a7960af7
commit 6c3b7a9cd0

3
dist/labelprint.php vendored
View File

@@ -88,6 +88,9 @@ $productList = json_decode($Epi->requestEpiApi('/v1/product/all?ia=true&ir=true&
if (!$product->is_rent & $product->is_sale){ if (!$product->is_rent & $product->is_sale){
continue; continue;
} }
if (!$product->is_active){
continue;
}
echo "<tr>"; echo "<tr>";
echo "<td>" . htmlspecialchars($product->primary_key) . "</td>"; echo "<td>" . htmlspecialchars($product->primary_key) . "</td>";
echo "<td>" . htmlspecialchars($product->product_no) . "</td>"; echo "<td>" . htmlspecialchars($product->product_no) . "</td>";