From 81c61d841166b93ba84d64e1601a1ce1526f4862 Mon Sep 17 00:00:00 2001 From: AI Assistant Date: Fri, 13 Mar 2026 15:49:48 +0200 Subject: [PATCH] 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 --- src/modules/registratura/components/imminent-actions.tsx | 1 - src/modules/registratura/components/registry-entry-detail.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/registratura/components/imminent-actions.tsx b/src/modules/registratura/components/imminent-actions.tsx index 9c691ae..aa10c12 100644 --- a/src/modules/registratura/components/imminent-actions.tsx +++ b/src/modules/registratura/components/imminent-actions.tsx @@ -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) { diff --git a/src/modules/registratura/components/registry-entry-detail.tsx b/src/modules/registratura/components/registry-entry-detail.tsx index 1df9e6a..3d5f9bd 100644 --- a/src/modules/registratura/components/registry-entry-detail.tsx +++ b/src/modules/registratura/components/registry-entry-detail.tsx @@ -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);