Added ownr_co_nm to owner display fields. BOD-256

This commit is contained in:
Patrick Fic
2020-08-19 09:19:59 -07:00
parent 534e0a0398
commit 8488b07ca5
22 changed files with 141 additions and 99 deletions

View File

@@ -34,7 +34,9 @@ export function VehicleDetailJobsComponent({ vehicle, bodyshop }) {
key: "owner",
render: (text, record) => (
<Link to={`/manage/owners/${record.owner.id}`}>
{`${record.ownr_fn} ${record.ownr_ln}`}
{`${record.ownr_fn || ""} ${record.ownr_ln || ""} ${
record.ownr_co_nm || ""
}`}
</Link>
),
},
@@ -72,7 +74,7 @@ export function VehicleDetailJobsComponent({ vehicle, bodyshop }) {
)}
pagination={{ position: "bottom" }}
columns={columns}
rowKey='id'
rowKey="id"
scroll={{ x: true }}
dataSource={vehicle.jobs}
rowSelection={{