Added parts table for job close BOD-131

This commit is contained in:
Patrick Fic
2020-05-19 17:59:02 -07:00
parent bdead5b4a0
commit 94777bf661
6 changed files with 141 additions and 26 deletions

View File

@@ -1,8 +1,9 @@
import React from "react";
import { useTranslation } from "react-i18next";
import AllocationButton from "./jobs-close-labmat-allocation.button.component";
import AllocationButton from "../jobs-close-allocation-button/jobs-close-allocation-button.component";
import Dinero from "dinero.js";
import AllocationTags from "./jobs-close-labmat-allocation.allocation-tags.component";
import AllocationTags from "../jobs-close-allocation-tags/jobs-close-allocation-tags.component";
import { List } from "antd";
export default function JobCloseLabMatAllocation({
@@ -61,16 +62,16 @@ export default function JobCloseLabMatAllocation({
</td>
<td>
<AllocationButton
labmatAllocationKey={alloc}
labmatAllocation={labmatAllocations[alloc]}
setLabmatAllocations={setLabmatAllocations}
allocationKey={alloc}
allocation={labmatAllocations[alloc]}
setAllocations={setLabmatAllocations}
/>
</td>
<td>
<AllocationTags
labmatAllocationKey={alloc}
labmatAllocation={labmatAllocations[alloc]}
setLabmatAllocations={setLabmatAllocations}
allocationKey={alloc}
allocation={labmatAllocations[alloc]}
setAllocations={setLabmatAllocations}
/>
</td>
</tr>