fix(wizard): use Person.full_name() instead of non-existent first_name/last_name
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Person model uses 'imiona' and 'nazwisko' fields, not first_name/last_name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
99695992c1
commit
73daa28bb0
@ -222,7 +222,7 @@ def wizard_step1():
|
||||
people = db.query(CompanyPerson).filter_by(company_id=company.id).all()
|
||||
response_data['people'] = [
|
||||
{
|
||||
'name': f"{cp.person.first_name} {cp.person.last_name}" if cp.person else '',
|
||||
'name': cp.person.full_name() if cp.person else '',
|
||||
'role': cp.role_in_company or ''
|
||||
}
|
||||
for cp in people if cp.person
|
||||
|
||||
Loading…
Reference in New Issue
Block a user