feat: reconcile dossier timelines with billing

This commit is contained in:
Repinoid
2026-10-31 10:08:26 +03:00
parent cba97e25dc
commit 8481044dea
6 changed files with 403 additions and 3 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ def match_catalog_sku(service_item, catalog_entries):
continue
if entry_charge not in {"unknown", charge_type}:
continue
exact_sku = bool(service_sku and service_sku == entry_sku)
expected_sku = service_sku
if charge_type == "payg" and service_sku and not service_sku.endswith("-M"):
expected_sku = service_sku + "-M"
exact_sku = bool(service_sku and entry_sku in {service_sku, expected_sku})
exact_name = bool(
service_name
and service_name in {