Fix expiring section: show soonest 10 items instead of 7-day window
- Change query from 7-day threshold to soonest 10 items with expiry - Section now always visible when items have expiry dates - Improved badges: OGGI, Domani, N giorni, Ng, ~N mesi - Color coding: red (today), orange (≤7d), yellow (≤30d), grey (>30d) - Renamed section to 'Prossime Scadenze'
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@
|
||||
|
||||
<!-- Alert for expiring items -->
|
||||
<div class="alert-section" id="alert-expiring" style="display:none">
|
||||
<h3>⚠️ In Scadenza</h3>
|
||||
<h3>⏰ Prossime Scadenze</h3>
|
||||
<div id="expiring-list"></div>
|
||||
</div>
|
||||
<div class="alert-section alert-danger" id="alert-expired" style="display:none">
|
||||
|
||||
Reference in New Issue
Block a user