Added labor adjustments to allocations table. IO-570

This commit is contained in:
Patrick Fic
2021-01-08 16:16:05 -08:00
parent 6f96bcfa7e
commit baef1eaaf9
22 changed files with 1929 additions and 55 deletions

View File

@@ -21,6 +21,7 @@ export function JobsDetailLaborContainer({
refetch,
loading,
techConsole,
adjustments,
}) {
const { t } = useTranslation();
return (
@@ -35,8 +36,10 @@ export function JobsDetailLaborContainer({
</TimeTicketEnterButton>
)}
<LaborAllocationsTableComponent
jobId={jobId}
joblines={joblines}
timetickets={timetickets}
adjustments={adjustments}
/>
<TimeTicketList
loading={loading}

View File

@@ -20,6 +20,7 @@ export default function JobsDetailLaborContainer({ jobId, techConsole }) {
joblines={data ? data.joblines : []}
refetch={refetch}
techConsole={techConsole}
adjustments={data ? data.jobs_by_pk.lbr_adjustments : []}
/>
);
}