Added page for job closing BOD-131
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import React from "react";
|
||||
|
||||
export default function JobCloseLabMatAllocation({
|
||||
labmatAllocations,
|
||||
setLabmatAllocations,
|
||||
}) {
|
||||
console.log(
|
||||
"JobCloseLabMatAllocation -> labmatAllocations",
|
||||
labmatAllocations
|
||||
);
|
||||
return (
|
||||
<div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rate</th>
|
||||
<th>Available</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{Object.keys(labmatAllocations).map((alloc) => (
|
||||
<tr>
|
||||
<td>{alloc}</td>
|
||||
<td>
|
||||
{
|
||||
//labmatAllocations[alloc].total.toFormat()
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user