IO-998 Add est line notes to op code desc.

This commit is contained in:
Patrick Fic
2021-05-06 10:56:37 -07:00
parent 1a9eddf7c6
commit f488a95a8f
2 changed files with 5 additions and 1 deletions

View File

@@ -104,7 +104,10 @@ export function JobLinesComponent({
sortOrder:
state.sortedInfo.columnKey === "op_code_desc" && state.sortedInfo.order,
ellipsis: true,
render: (text, record) => record.op_code_desc,
render: (text, record) =>
`${record.op_code_desc||""}${
record.alt_partm ? ` ${record.alt_partm}` : ""
}`,
},
{
title: t("joblines.fields.part_type"),

View File

@@ -503,6 +503,7 @@ export const GET_JOB_BY_PK = gql`
ca_customer_gst
joblines(where: { removed: { _eq: false } }, order_by: { line_no: asc }) {
id
alt_partm
line_no
unq_seq
line_ind