feat(registratura): restructure Autorizare deadlines — no tacit approval

- ac-verificare (5z lucr.) now auto-track, created automatically with
  any AC emitere type. Informational: authority notifies if incomplete.
- ac-emitere (30z cal.) now chains to ac-emitere-dupa-completari when
  interrupted — term recalculates from completion submission date.
- ac-emitere-urgenta (7z lucr.) and ac-emitere-anexe (15z cal.) kept.
- New: ac-prelungire-emitere (15z lucr.) — authority communicates
  decision on AC extension within 15 working days.
- Info box in DeadlineAddDialog for autorizare category explaining
  auto-tracked verification + interruption mechanism.
- None of the autorizare deadlines have tacit approval.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-10 23:55:39 +02:00
parent a96dce56a2
commit a2b9ff75b5
3 changed files with 86 additions and 10 deletions
@@ -301,6 +301,19 @@ export function RegistryEntryForm({
}
}
// Auto-create verification deadline for AC emitere types
const isACEmitere =
typeId === "ac-emitere" ||
typeId === "ac-emitere-urgenta" ||
typeId === "ac-emitere-anexe";
if (isACEmitere) {
const acVerification = createTrackedDeadline(
"ac-verificare",
startDate,
);
if (acVerification) newDeadlines.push(acVerification);
}
// Auto-create completari limit for avize (when Comisie toggle is OFF)
const addedDef = getDeadlineType(typeId);
if (addedDef?.category === "avize" && !options?.isComisie) {