IO-1048 Add total hours to production list.
This commit is contained in:
@@ -29976,6 +29976,27 @@
|
|||||||
</translation>
|
</translation>
|
||||||
</translations>
|
</translations>
|
||||||
</concept_node>
|
</concept_node>
|
||||||
|
<concept_node>
|
||||||
|
<name>totalhours</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
<concept_node>
|
<concept_node>
|
||||||
<name>touchtime</name>
|
<name>touchtime</name>
|
||||||
<definition_loaded>false</definition_loaded>
|
<definition_loaded>false</definition_loaded>
|
||||||
|
|||||||
@@ -214,6 +214,20 @@ const r = ({ technician, state }) => {
|
|||||||
state.sortedInfo.columnKey === "larhrs" && state.sortedInfo.order,
|
state.sortedInfo.columnKey === "larhrs" && state.sortedInfo.order,
|
||||||
render: (text, record) => record.larhrs.aggregate.sum.mod_lb_hrs,
|
render: (text, record) => record.larhrs.aggregate.sum.mod_lb_hrs,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: i18n.t("production.labels.totalhours"),
|
||||||
|
dataIndex: "totalhours",
|
||||||
|
key: "totalhours",
|
||||||
|
sorter: (a, b) =>
|
||||||
|
a.labhrs.aggregate.sum.mod_lb_hrs +
|
||||||
|
a.larhrs.aggregate.sum.mod_lb_hrs -
|
||||||
|
(b.labhrs.aggregate.sum.mod_lb_hrs + b.larhrs.aggregate.sum.mod_lb_hrs),
|
||||||
|
sortOrder:
|
||||||
|
state.sortedInfo.columnKey === "totalhours" && state.sortedInfo.order,
|
||||||
|
render: (text, record) =>
|
||||||
|
record.labhrs.aggregate.sum.mod_lb_hrs +
|
||||||
|
record.larhrs.aggregate.sum.mod_lb_hrs,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: i18n.t("production.labels.alert"),
|
title: i18n.t("production.labels.alert"),
|
||||||
dataIndex: "alert",
|
dataIndex: "alert",
|
||||||
|
|||||||
@@ -1793,6 +1793,7 @@
|
|||||||
"refinishhours": "R",
|
"refinishhours": "R",
|
||||||
"selectview": "Select a View",
|
"selectview": "Select a View",
|
||||||
"sublets": "Sublets",
|
"sublets": "Sublets",
|
||||||
|
"totalhours": "Total Hrs",
|
||||||
"touchtime": "T/T",
|
"touchtime": "T/T",
|
||||||
"viewname": "View Name"
|
"viewname": "View Name"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1793,6 +1793,7 @@
|
|||||||
"refinishhours": "",
|
"refinishhours": "",
|
||||||
"selectview": "",
|
"selectview": "",
|
||||||
"sublets": "",
|
"sublets": "",
|
||||||
|
"totalhours": "",
|
||||||
"touchtime": "",
|
"touchtime": "",
|
||||||
"viewname": ""
|
"viewname": ""
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1793,6 +1793,7 @@
|
|||||||
"refinishhours": "",
|
"refinishhours": "",
|
||||||
"selectview": "",
|
"selectview": "",
|
||||||
"sublets": "",
|
"sublets": "",
|
||||||
|
"totalhours": "",
|
||||||
"touchtime": "",
|
"touchtime": "",
|
||||||
"viewname": ""
|
"viewname": ""
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user