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