Add Phase 11B client aware multi bank ownership and engagement archive
This commit is contained in:
@@ -615,6 +615,10 @@ def analyze_files(paths, customer_override="", account_override="", bank_hint="a
|
||||
frames = []
|
||||
for path in paths:
|
||||
meta, df = parse_pdf(path, bank_hint=bank_hint)
|
||||
# Preserve the bank-extracted owner before an optional manual correction.
|
||||
# Phase 11B ownership validation always prefers this original value.
|
||||
meta.extracted_customer_name = getattr(meta, "customer_name", "") or ""
|
||||
df["extracted_customer_name"] = meta.extracted_customer_name
|
||||
if customer_override:
|
||||
meta.customer_name = customer_override
|
||||
df["customer_name"] = customer_override
|
||||
|
||||
Reference in New Issue
Block a user