Added plate number to CC list views. IO-592

This commit is contained in:
Patrick Fic
2021-01-20 08:56:06 -08:00
parent 277cf9dd74
commit 4228d1f13d
2 changed files with 13 additions and 3 deletions

View File

@@ -75,6 +75,14 @@ export default function CourtesyCarsList({ loading, courtesycars, refetch }) {
sortOrder:
state.sortedInfo.columnKey === "model" && state.sortedInfo.order,
},
{
title: t("courtesycars.fields.plate"),
dataIndex: "plate",
key: "plate",
sorter: (a, b) => alphaSort(a.plate, b.plate),
sortOrder:
state.sortedInfo.columnKey === "plate" && state.sortedInfo.order,
},
{
title: t("courtesycars.labels.outwith"),
dataIndex: "outwith",