Einheit kg im Material-Auswahlmenü ergänzt
Build and Deploy / version (push) Successful in 2s
Build and Deploy / build (push) Successful in 10s
Build and Deploy / deploy (push) Successful in 2s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Fidelis Huber
2026-10-09 19:39:48 +02:00
co-authored by Claude Sonnet 5.5
parent 87a017be38
commit 564125a282
+2 -2
View File
@@ -226,7 +226,7 @@ export default function ProjektDetail() {
// Positionstext eingebettet. Oid/PosTyp/Lohn/Material bleiben leer, da das echte
// VenDoc-Aufmaßblatt bestehende Positionen per interner Oid referenziert, die wir
// nicht kennen/vergeben können.
const EH_MAP: Record<string, string> = { Stk: 'ST', m: 'M' }; // aus VenDoc-Beispiel bestätigt
const EH_MAP: Record<string, string> = { Stk: 'ST', m: 'M', kg: 'KG' }; // ST/M aus VenDoc-Beispiel bestätigt, KG analog
function exportXlsm() {
if (!projekt) return;
const aoa: (string | number)[][] = [
@@ -370,7 +370,7 @@ export default function ProjektDetail() {
</label>
<label className="field">Einheit
<select value={mEinh} onChange={e => setMEinh(e.target.value)}>
<option>Stk</option><option>m</option><option>m²</option><option>Pkg</option><option>Rol</option><option>Set</option>
<option>Stk</option><option>m</option><option>m²</option><option>Pkg</option><option>kg</option><option>Rol</option><option>Set</option>
</select>
</label>
<label className="field"><span style={{ opacity: 0 }}>.</span>