Fix M365 summary: per-product totals row and QWE Client-based missing assignments
- Total row now sums each license column individually instead of using colspan - Missing Assignment warning now flags licensed users with no QWE Client set, replacing the previous department-based company check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ def _apply_overrides(users: list[dict], db: Session) -> list[dict]:
|
||||
|
||||
def _calculate_summary(users: list[dict]) -> dict:
|
||||
licensed = [u for u in users if u["is_licensed"]]
|
||||
missing = [u for u in licensed if not u["company"]]
|
||||
missing = [u for u in licensed if not u["qwe_client"].strip()]
|
||||
|
||||
# Per-QWE-Client breakdown (primary goal)
|
||||
client_groups: dict[str, list] = defaultdict(list)
|
||||
|
||||
Reference in New Issue
Block a user