Changes to recent items BOD-178

This commit is contained in:
Patrick Fic
2020-06-26 09:29:16 -07:00
parent 82ee83c43b
commit 4516491c8c
4 changed files with 18 additions and 9 deletions

View File

@@ -109,6 +109,7 @@ export function JobsCloseComponent({ job, bodyshop, jobTotals }) {
partsAllocations={partsAllocations}
labMatAllocations={labmatAllocations}
jobTotals={jobTotals}
disabled={!!job.date_exported}
suspenseAmount={jobTotals.totals.subtotal
.subtract(labmatAllocatedTotal)
.subtract(partsAllocatedTotal)
@@ -125,19 +126,19 @@ export function JobsCloseComponent({ job, bodyshop, jobTotals }) {
setLabmatAllocations={setLabmatAllocations}
partsAllocations={partsAllocations}
setPartsAllocations={setPartsAllocations}
invoiced={invoiced}
disabled={!!job.date_exported}
/>
<JobsCloseLaborMaterialAllocation
labmatAllocations={labmatAllocations}
setLabmatAllocations={setLabmatAllocations}
labMatTotalAllocation={labmatAllocatedTotal}
invoiced={invoiced}
invoiced={!!job.date_exported}
/>
<JobsClosePartsAllocation
partsAllocations={partsAllocations}
setPartsAllocations={setPartsAllocations}
partsAllocatedTotal={partsAllocatedTotal}
invoiced={invoiced}
invoiced={!!job.date_exported}
/>
</div>
);