export function getCustomerName(
  customer: { firstName?: string; lastName?: string } | undefined,
): string {
  if (!customer) {
    return '';
  }
  return `${customer.firstName ?? ''} ${customer.lastName ?? ''}`.trim();
}
