feat(registratura): restructure legal deadline catalog — 35 deadlines from Legea 50/1991 & 350/2001
Complete rewrite of deadline-catalog.ts based on comprehensive legislative extracts: Certificat de Urbanism (6): verificare 10zl, emitere L50 15zl, emitere L350 30zc, suport tehnic 10zl, prelungire depunere 15zc backward, prelungire emitere 15zc Avize (15): AC standard 15zc, urbanism 30zc, Mediu 15zc, Cultura comisie 30zc, Min.Culturii 30zl, Aeronautica 30zc, ISU 15zc, transport EU 10zc, comisie agenda 30zc, comisie emitere 15zc, oportunitate analiza/emitere (fara tacit!), reconfirmare 5zl, primar 5zc, monument fara AC 30zc Completari (4): notificare 5zl, beneficiar 60zc, emitere 15zc, AC beneficiar 90zc Autorizare (5): verificare 5zl, emitere 30zc, urgenta 7zl, agricol 15zc, prelungire 45zl backward Publicitate (2): AC 30zc, comunicare aviz 1zc Contestatie (4): plangere prealabila 30zc, contestare AC 60zc, contestare urbanism 5 ani, plangere contraventionala 15zc Each deadline now includes legalReference field displayed in the dialog. Dialog shows legal reference, scroll for long lists, contestatie category added. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,7 @@ const CATEGORIES: DeadlineCategory[] = [
|
||||
"analiza",
|
||||
"autorizare",
|
||||
"publicitate",
|
||||
"contestatie",
|
||||
];
|
||||
|
||||
export function DeadlineAddDialog({
|
||||
@@ -149,7 +150,7 @@ export function DeadlineAddDialog({
|
||||
)}
|
||||
|
||||
{step === "type" && (
|
||||
<div className="grid gap-2 py-2">
|
||||
<div className="grid gap-2 py-2 max-h-[400px] overflow-y-auto">
|
||||
{typesForCategory.map((typ) => (
|
||||
<button
|
||||
key={typ.id}
|
||||
@@ -183,6 +184,11 @@ export function DeadlineAddDialog({
|
||||
<p className="text-xs text-muted-foreground mt-1">
|
||||
{typ.description}
|
||||
</p>
|
||||
{typ.legalReference && (
|
||||
<p className="text-[10px] text-muted-foreground/70 mt-0.5 italic">
|
||||
{typ.legalReference}
|
||||
</p>
|
||||
)}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user