Offer supply suggestions, drop the circuit column, center cells

The Versorgung field suggests ELT and MSR (plus values already used in
the balance) through a datalist and still accepts free text. The circuit
number column is not needed in early design phases; it is removed from
the data model, the regenerated migration 0010, the editor and the
print. All cells are centered except "Verbraucher / Flächen", group
titles and total labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Grovy311 2026-09-26 17:56:53 +02:00
parent e06c7d91e2
commit 72189d23a5
12 changed files with 60 additions and 42 deletions

View file

@ -165,7 +165,6 @@ describe("estimate balance document editing", () => {
id: "row-x",
sortOrder: 3,
supply: null,
circuitRef: null,
name: "",
quantity: 1,
unit: "piece",
@ -273,7 +272,6 @@ describe("estimate balance saving", () => {
balance = updateEstimateRow(balance, "group-410", "row-a", {
name: " Hebeanlage ",
supply: " ELT ",
circuitRef: "",
remark: " ",
});
const saveable = toSaveableEstimateBalance(balance);
@ -286,10 +284,9 @@ describe("estimate balance saving", () => {
{
name: saveable.groups[0]!.rows[0]!.name,
supply: saveable.groups[0]!.rows[0]!.supply,
circuitRef: saveable.groups[0]!.rows[0]!.circuitRef,
remark: saveable.groups[0]!.rows[0]!.remark,
},
{ name: "Hebeanlage", supply: "ELT", circuitRef: null, remark: null }
{ name: "Hebeanlage", supply: "ELT", remark: null }
);
});

View file

@ -52,7 +52,6 @@ function row(
id: id(),
sortOrder: 0,
supply: "ELT",
circuitRef: null,
name,
quantity,
unit: "piece",