-
+
e.stopPropagation()}>
{item.title}
@@ -55,12 +58,14 @@ export default function EstimatesPage() {
accessorKey: "customer_name",
header: ({ column }) =>
,
cell: ({ row }) => {
- const item:any = row.original
+ const item:any = row.original
+ if (!item.customer?.id) return "—"
return (
-
-
- {getFullName(item.customer) || "—"}
-
+
)
}
},
@@ -68,8 +73,8 @@ export default function EstimatesPage() {
accessorKey: "vehicle",
header: ({ column }) =>
,
cell: ({ row }) => {
- const item :any= row.original
- return
{/* Purchase Information */}
- {/*