WIP for Job Costing BOD-192

This commit is contained in:
Patrick Fic
2020-07-21 08:26:26 -07:00
parent 74aca37ee2
commit 068e1e8057
16 changed files with 463 additions and 5 deletions

View File

@@ -143,11 +143,20 @@ export function JobLinesComponent({
</CurrencyFormatter>
),
},
{
title: t("joblines.fields.mod_lbr_ty"),
dataIndex: "mod_lbr_ty",
key: "mod_lbr_ty",
sorter: (a, b) => alphaSort(a.mod_lbr_ty, b.mod_lbr_ty),
sortOrder:
state.sortedInfo.columnKey === "mod_lbr_ty" && state.sortedInfo.order,
},
{
title: t("joblines.fields.mod_lb_hrs"),
dataIndex: "mod_lb_hrs",
key: "mod_lb_hrs",
responsive: ["lg"],
sorter: (a, b) => a.mod_lb_hrs - b.mod_lb_hrs,
sortOrder:
state.sortedInfo.columnKey === "mod_lb_hrs" && state.sortedInfo.order,