From 110901a66cac416953e4cf0bf885e7ae72b67b3a Mon Sep 17 00:00:00 2001 From: Chaim Date: Sun, 19 Apr 2026 06:00:17 +0000 Subject: [PATCH] =?UTF-8?q?web-ui:=20add=20=D7=A9=D7=95=D7=9E=D7=94=20labe?= =?UTF-8?q?l=20for=20appraisal=20doc=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The backend (app.py, documents.py, models.py) already maps appraisal→שומה but the frontend DOC_TYPE_LABELS and upload DOC_TYPES dropdowns were missing the entry, so appraisal documents rendered as the raw English string instead of the Hebrew label. Co-Authored-By: Claude Opus 4.7 (1M context) --- web-ui/src/components/cases/documents-panel.tsx | 1 + web-ui/src/components/documents/upload-sheet.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/web-ui/src/components/cases/documents-panel.tsx b/web-ui/src/components/cases/documents-panel.tsx index 366f37f..825d3ee 100644 --- a/web-ui/src/components/cases/documents-panel.tsx +++ b/web-ui/src/components/cases/documents-panel.tsx @@ -38,6 +38,7 @@ const DOC_TYPE_LABELS: Record = { protocol: "פרוטוקול", decision: "החלטת ועדה מקומית", plan: "תכנית", + appraisal: "שומה", reference: "חומר רקע", auto: "—", }; diff --git a/web-ui/src/components/documents/upload-sheet.tsx b/web-ui/src/components/documents/upload-sheet.tsx index 6646b78..9838598 100644 --- a/web-ui/src/components/documents/upload-sheet.tsx +++ b/web-ui/src/components/documents/upload-sheet.tsx @@ -27,6 +27,7 @@ const DOC_TYPES: { value: string; label: string }[] = [ { value: "protocol", label: "פרוטוקול דיון" }, { value: "decision", label: "החלטת ועדה מקומית" }, { value: "plan", label: "תכנית" }, + { value: "appraisal",label: "שומה" }, { value: "reference",label: "חומר רקע" }, ];