fix(registratura): show expiry/AC alerts regardless of entry status

Status "inchis" means the correspondence is resolved, not that the
document validity stopped mattering. Remove status filters from both
ImminentActions dashboard and detail panel Remindere section.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-13 15:49:48 +02:00
parent 0cd28de733
commit 81c61d8411
2 changed files with 1 additions and 2 deletions
@@ -43,7 +43,6 @@ export function ImminentActions({ entries, onNavigate }: ImminentActionsProps) {
const nowMs = now.getTime();
for (const entry of entries) {
if (entry.status !== "deschis") continue;
// Document expiry alerts (already expired or within horizon)
if (entry.expiryDate) {
@@ -461,7 +461,7 @@ export function RegistryEntryDetail({
}
// Expiry date alert
if (entry.expiryDate && entry.status === "deschis") {
if (entry.expiryDate) {
const expiry = new Date(entry.expiryDate);
const now = new Date();
now.setHours(0, 0, 0, 0);