forked from jappel/leistungsbilanz-ts
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:
parent
e06c7d91e2
commit
72189d23a5
12 changed files with 60 additions and 42 deletions
|
|
@ -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 }
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ function row(
|
|||
id: id(),
|
||||
sortOrder: 0,
|
||||
supply: "ELT",
|
||||
circuitRef: null,
|
||||
name,
|
||||
quantity,
|
||||
unit: "piece",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue