Improve editor totals and formatting
This commit is contained in:
@@ -2636,10 +2636,17 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
|
||||
<strong>{device.displayName || device.name}</strong>
|
||||
<span>Name: {device.name}</span>
|
||||
<span>Phasenart: {formatPhaseTypeLabel(device.phaseType)}</span>
|
||||
<span>Anzahl: {device.quantity}</span>
|
||||
<span>Leistung/Gerät: {device.powerPerUnit}</span>
|
||||
<span>Gleichzeitigkeit: {device.simultaneityFactor}</span>
|
||||
<span>Gesamtleistung: {device.totalPower}</span>
|
||||
<span>Anzahl: {formatValue(device.quantity, "quantity")}</span>
|
||||
<span>
|
||||
Leistung/Gerät: {formatValue(device.powerPerUnit, "powerPerUnit")} kW
|
||||
</span>
|
||||
<span>
|
||||
Gleichzeitigkeit:{" "}
|
||||
{formatValue(device.simultaneityFactor, "simultaneityFactor")}
|
||||
</span>
|
||||
<span>
|
||||
Gesamtleistung: {formatValue(device.totalPower, "rowTotalPower")} kW
|
||||
</span>
|
||||
<span>Kostengruppe: {device.costGroup || "-"}</span>
|
||||
<span>Kategorie: {device.category || "-"}</span>
|
||||
</button>
|
||||
@@ -3385,7 +3392,7 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
formatValue(cell.value)
|
||||
formatValue(cell.value, column.key)
|
||||
)}
|
||||
</td>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user