I have this: sales_ordershasOnecustomer, i.e. customers.sales_order_id points to sales_orders.id
So when I add HasOne::make("customer")->inline() in the SalesOrder Nova resource, wouldn't it make more sense to show the customer's name in the index view instead of showing 1 customer?
sales_orders and customers may not be the best example here, but my point is, why not show the contents instead of just the count, since it hasOne only. Thank you.
Hi,
I have this:
sales_orders
hasOne
customer
, i.e.customers.sales_order_id
points tosales_orders.id
So when I addHasOne::make("customer")->inline()
in theSalesOrder
Nova resource, wouldn't it make more sense to show the customer's name in theindex
view instead of showing1 customer
?sales_orders
andcustomers
may not be the best example here, but my point is, why not show the contents instead of just the count, since ithasOne
only. Thank you.