From 6cd5eb917c67e49d15a674f1aa6edcaabe491641 Mon Sep 17 00:00:00 2001 From: DanielS Date: Wed, 22 Jul 2026 17:25:08 +0200 Subject: [PATCH] feat(shop): display company address instead of id in partner selection --- shop/components/wizard/step-customer.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shop/components/wizard/step-customer.tsx b/shop/components/wizard/step-customer.tsx index a44efa0..22b0c9a 100644 --- a/shop/components/wizard/step-customer.tsx +++ b/shop/components/wizard/step-customer.tsx @@ -177,7 +177,7 @@ export function StepCustomer({
setPartnerSearchTerm(e.target.value)} className="pl-9 bg-white/5 border-white/10 text-white placeholder:text-slate-500 focus:border-primary text-sm h-9" @@ -259,7 +259,11 @@ export function StepCustomer({

{c.name}

-

ID: {c.id}

+ {(c.street || c.zip || c.city) && ( +

+ {[c.street, [c.zip, c.city].filter(Boolean).join(' ')].filter(Boolean).join(', ')} +

+ )}