Added paint and body hours to schedule BOD-394

This commit is contained in:
Patrick Fic
2020-09-16 14:08:28 -07:00
parent 929523bd30
commit 7140d541d5
2 changed files with 40 additions and 5 deletions

View File

@@ -105,15 +105,22 @@ export function ScheduleEventComponent({
);
const RegularEvent = event.isintake ? (
<div>
<strong>{`${(event.job && event.job.ownr_fn) || ""} ${
(event.job && event.job.ownr_ln) || ""
} ${(event.job && event.job.ownr_co_nm) || ""}`}</strong>
<div style={{ margin: 4 }}>
<div style={{ display: "flex", flexWrap: "wrap" }}>
<strong style={{ margin: ".1rem" }}>{`${
(event.job && event.job.ownr_fn) || ""
} ${(event.job && event.job.ownr_ln) || ""} ${
(event.job && event.job.ownr_co_nm) || ""
}`}</strong>
<div style={{ margin: ".1rem" }}>
{`${(event.job && event.job.v_model_yr) || ""} ${
(event.job && event.job.v_make_desc) || ""
} ${(event.job && event.job.v_model_desc) || ""}`}
</div>
<div style={{ margin: ".1rem" }}>
{`(${
(event.job && event.job.labhrs.aggregate.sum.mod_lb_hrs) || ""
} / ${(event.job && event.job.larhrs.aggregate.sum.mod_lb_hrs) || ""})`}
</div>
</div>
) : (
<div>