IO-1700 Add name to cc list.

This commit is contained in:
Patrick Fic
2022-02-14 10:27:41 -08:00
parent 43b8842027
commit 06f266a292
2 changed files with 6 additions and 1 deletions

View File

@@ -97,7 +97,9 @@ export default function CourtesyCarsList({ loading, courtesycars, refetch }) {
render: (text, record) =>
record.cccontracts.length === 1 ? (
<Link to={`/manage/jobs/${record.cccontracts[0].job.id}`}>
{record.cccontracts[0].job.ro_number}
{`${record.cccontracts[0].job.ro_number} - ${
record.cccontracts[0].job.ownr_fn || ""
} ${record.cccontracts[0].job.ownr_ln || ""} ${record.cccontracts[0].job.ownr_co_nm || ""}`}
</Link>
) : null,
},

View File

@@ -89,6 +89,9 @@ export const QUERY_ALL_CC = gql`
job {
id
ro_number
ownr_fn
ownr_ln
ownr_co_nm
}
}
}