diff --git a/shop/app/admin/companies/[id]/customers/page.tsx b/shop/app/admin/companies/[id]/customers/page.tsx index 46e56a1..e7777d8 100644 --- a/shop/app/admin/companies/[id]/customers/page.tsx +++ b/shop/app/admin/companies/[id]/customers/page.tsx @@ -245,32 +245,32 @@ export default function CompanyCustomersPage() { {filteredCustomers.map((customer) => ( - +
{customer.company_name}
{(customer.first_name || customer.last_name) && ( -
- +
+ {customer.first_name || ''} {customer.last_name || ''}
)} - + {customer.street ? (
- + {customer.street}, {customer.zip} {customer.city}
) : ( - + )} - - {customer.email || } + + {customer.email || } {customer.vat_id || } diff --git a/shop/app/admin/companies/page.tsx b/shop/app/admin/companies/page.tsx index fb1f79a..b97e5c1 100644 --- a/shop/app/admin/companies/page.tsx +++ b/shop/app/admin/companies/page.tsx @@ -197,25 +197,25 @@ export default function CompaniesPage() { {filteredCompanies.map((company) => ( - +
- + {company.name}
- +
- + {company.street ? `${company.street}, ${company.zip} ${company.city}` : '–'}
- + {company.email ? (
- + {company.email}
) : '–'}