fix(registratura): remove intern direction — only intrat/iesit are valid

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-10 08:01:29 +02:00
parent a0dd35a066
commit 6786ac07d1
7 changed files with 4 additions and 31 deletions
@@ -82,7 +82,7 @@ const COLUMNS: ColumnDef[] = [
id: "direction",
label: "Dir.",
tooltip:
"Direcție: Intrat = primit, Ieșit = trimis, Intern = intern",
"Direcție: Intrat = primit, Ieșit = trimis",
defaultVisible: true,
},
{
@@ -141,7 +141,6 @@ const STORAGE_KEY = "registratura:visible-columns";
const DIRECTION_LABELS: Record<string, string> = {
intrat: "Intrat",
iesit: "Ieșit",
intern: "Intern",
};
function getDocTypeLabel(type: string): string {
@@ -331,9 +330,7 @@ export function RegistryTable({
variant={
entry.direction === "intrat"
? "default"
: entry.direction === "intern"
? "outline"
: "secondary"
: "secondary"
}
className="text-xs"
>