Allow user to specify product acquisition costs

This commit is contained in:
2023-02-16 11:23:54 -06:00
parent 2f0228e9ca
commit 78128bd79b
15 changed files with 495 additions and 568 deletions

View File

@@ -118,9 +118,17 @@ const ProductBlock = (props) => {
/>
<h1 style={{ display: nCenters == 0 ? "none" : "block" }}>
Disposal
Acquisition & disposal
</h1>
<div style={{ display: nCenters == 0 ? "none" : "block" }}>
<TextInputRow
label="Acquisition cost"
unit="$/tonne"
tooltip="Cost of acquiring one tonne of this product at a collection center."
value={props.value["acquisition cost ($/tonne)"]}
onChange={(v) => onChange("acquisition cost ($/tonne)", v)}
validate="floatList"
/>
<TextInputRow
label="Disposal cost"
unit="$/tonne"