diff --git a/client/src/components/job-line-convert-to-labor/job-line-convert-to-labor.component.jsx b/client/src/components/job-line-convert-to-labor/job-line-convert-to-labor.component.jsx index f7ff2f543..e4335cd04 100644 --- a/client/src/components/job-line-convert-to-labor/job-line-convert-to-labor.component.jsx +++ b/client/src/components/job-line-convert-to-labor/job-line-convert-to-labor.component.jsx @@ -103,7 +103,7 @@ export function JobLineConvertToLabor({ return; } insertAuditTrail({ - jobid: values.jobid, + jobid: job.id, operation: AuditTrailMapping.jobmodifylbradj({ hours: calculateAdjustment({ mod_lbr_ty, job, jobline }), mod_lbr_ty, diff --git a/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx b/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx index 6f9aeb680..982728142 100644 --- a/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx +++ b/client/src/components/labor-allocations-adjustment-edit/labor-allocations-adjustment-edit.component.jsx @@ -69,7 +69,7 @@ export function LaborAllocationsAdjustmentEdit({ message: t("jobs.successes.save"), }); insertAuditTrail({ - jobid: values.jobid, + jobid: jobId, operation: AuditTrailMapping.jobmodifylbradj({ mod_lbr_ty: values.mod_lbr_ty, hours: values.hours - ((adjustments && adjustments[mod_lbr_ty]) || 0),