Fixed other direction of customer class

This commit is contained in:
Jonas Linter
2025-09-24 14:51:24 +02:00
parent f70f9d2853
commit 04f5fce3ec

View File

@@ -138,7 +138,7 @@ class CustomerFactory:
phone_numbers = [] phone_numbers = []
if customer.telephone: if customer.telephone:
for tel in customer.telephone: for tel in customer.telephone:
phone_numbers.append((tel.phone_number, tel.phone_tech_type)) phone_numbers.append((tel.phone_number, PhoneTechType(tel.phone_tech_type) if tel.phone_tech_type else None))
# Extract email info # Extract email info
email_address = None email_address = None