feat(quotes/process): load customers with company expanded for picker
This commit is contained in:
parent
87a59fc579
commit
2bee7aa4be
1 changed files with 4 additions and 1 deletions
|
|
@ -463,7 +463,10 @@ export default function QuoteProcessPage({ params }: { params: Promise<{ id: str
|
|||
getQuote(id),
|
||||
getQuoteItems(id),
|
||||
getAllSuppliers(),
|
||||
getAllCustomers(),
|
||||
// expand=company so the <CustomerSearch> dropdown can show
|
||||
// the company name on each row (and on the trigger) without
|
||||
// an N+1 fetch per row.
|
||||
getAllCustomers("company"),
|
||||
]);
|
||||
setQuote(q);
|
||||
setItems(i);
|
||||
|
|
|
|||
Loading…
Reference in a new issue