Various samll bugfixes.

This commit is contained in:
Patrick Fic
2020-09-16 12:36:31 -07:00
parent 223cf35244
commit 2e99a2eee2
11 changed files with 89 additions and 38 deletions

View File

@@ -52,8 +52,9 @@ export function LaborAllocationsTable({ joblines, timetickets, bodyshop }) {
<Col span={6}>
<strong
style={{
color: Math.round(t.total - t.claimed) > 0 ? "green" : "red",
}}>
color: t.total - t.claimed > 0 ? "green" : "red",
}}
>
{(t.total - t.claimed).toFixed(2)}
</strong>
</Col>