diff --git a/article_overview.php b/article_overview.php
index a7ed913..c5d59ba 100644
--- a/article_overview.php
+++ b/article_overview.php
@@ -17,6 +17,16 @@
.edit-form a:hover {
cursor: pointer;
}
+
+ /* Stil für den Ist-Bestand, wenn er den Soll-Bestand unterschreitet */
+ .low-stock {
+ color: red; /* Schriftfarbe auf Orange ändern */
+ }
+
+ /* Stil für die Zeilen, deren Ablaufdatum innerhalb von 10 Tagen liegt */
+ .expiring td {
+ color: red; /* Schriftfarbe auf Rot ändern */
+ }
@@ -90,14 +100,23 @@
echo "= strtotime($ten_days_before_expiry) && strtotime($current_date) <= strtotime($expiration_date)) {
- echo " class='expiring'";
+ echo " class='expiring'"; // Klasse 'expiring' hinzufügen
}
echo ">";
- echo "" . $row["item_name"] . " | ";
+
+ echo "= strtotime($ten_days_before_expiry) && strtotime($current_date) <= strtotime($expiration_date)) {
+ echo " style='color: red;'"; // Schriftfarbe auf Rot setzen
+ }
+ echo ">" . $row["item_name"] . " | ";
echo "" . $row["manufacturer"] . " | ";
echo "" . $row["location"] . " | ";
echo "" . $row["amount_should"] . " | ";
- echo "" . $row["amount_is"] . " | ";
+ echo "" . $row["amount_is"] . " | ";
echo "" . $expiration_date . " | ";
echo "" . $row["barcode"] . " | ";
echo "";
|