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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user