IO-1139 Total hours to 2 decimals.
This commit is contained in:
@@ -225,8 +225,10 @@ const r = ({ technician, state }) => {
|
|||||||
sortOrder:
|
sortOrder:
|
||||||
state.sortedInfo.columnKey === "totalhours" && state.sortedInfo.order,
|
state.sortedInfo.columnKey === "totalhours" && state.sortedInfo.order,
|
||||||
render: (text, record) =>
|
render: (text, record) =>
|
||||||
record.labhrs.aggregate.sum.mod_lb_hrs +
|
(
|
||||||
record.larhrs.aggregate.sum.mod_lb_hrs,
|
record.labhrs.aggregate.sum.mod_lb_hrs +
|
||||||
|
record.larhrs.aggregate.sum.mod_lb_hrs
|
||||||
|
).toFixed(2),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: i18n.t("production.labels.alert"),
|
title: i18n.t("production.labels.alert"),
|
||||||
|
|||||||
Reference in New Issue
Block a user