adding in the lidar inventory control stuff
This commit is contained in:
parent
dd952bebe6
commit
c5afdc2c3d
5 changed files with 28 additions and 13 deletions
|
|
@ -583,14 +583,17 @@ export default function BinVisualizer(props: Props) {
|
|||
</Typography>
|
||||
<Typography variant="body2">{isEmpty ? "" : getCapacityDisplay(capacity)}</Typography>
|
||||
</div>
|
||||
{!isEmpty && lidarBushels && (
|
||||
<div style={{ display: "flex", flexDirection: "row" }}>
|
||||
<Typography variant="body2">
|
||||
{(lidarBushels ? getVolume(lidarBushels) : 0).toLocaleString()} /{" "}
|
||||
{(capacity ? getVolume(capacity) : 0).toLocaleString()} bu (est)
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
{!isEmpty &&
|
||||
lidarBushels &&
|
||||
bin.inventoryControl() !==
|
||||
pond.BinInventoryControl.BIN_INVENTORY_CONTROL_AUTOMATIC_LIDAR && (
|
||||
<div style={{ display: "flex", flexDirection: "row" }}>
|
||||
<Typography variant="body2">
|
||||
{(lidarBushels ? getVolume(lidarBushels) : 0).toLocaleString()} /{" "}
|
||||
{(capacity ? getVolume(capacity) : 0).toLocaleString()} bu (est)
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue