refactor buyer and insured and add more policy types
All checks were successful
Build and Publish / build-release (push) Successful in 1m38s

This commit is contained in:
2026-04-27 14:06:28 -05:00
parent c8a58c3f58
commit 2a8f2ffc2d
27 changed files with 676 additions and 170 deletions

View File

@@ -24,7 +24,8 @@ defmodule PolicyService.Projectors.PolicyProjector do
org_id: e.id.org_id,
submitted_by: e.submitted_by,
policy_type: e.id.policy_type,
applicant_info: atomize(e.applicant_info),
insured: atomize(e.insured),
buyer: atomize(e.buyer),
policy_details: atomize(e.policy_details),
selected_providers: Enum.map(e.selected_providers, & &1["provider_id"]),
quotes: %{},