Jan Novak 20b618685f fix(reconcile): handle '?' expected fee in fill-first allocation
Juniors with exactly 1 session get expected='?' (manual-review marker
from attendance.py). The fill-first allocation block summed and cast
expected values numerically without guarding against this, causing a
TypeError: unsupported operand type(s) for +: 'int' and 'str' on the
/juniors route whenever any matched payment landed on such a month.

Add _expected_amount() helper that coerces non-numeric markers to 0
(same convention the final-balance calculation at line 512 already used)
and apply it in the two failing spots plus the existing isinstance check.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 11:10:41 +02:00
2026-05-24 21:15:38 +02:00

FUJ Management Documentation

Welcome to the documentation for the FUJ Management application.

This project automates financial and operational management for the FUJ (Frisbee Ultimate Jablonec) club.

Navigation

Use the sidebar to explore the documentation:

For more technical details, check out the guides by Claude and Gemini in the sidebar.

Description
Brainstorming and possibly automatization of internal processes in FUJ frisbee team - mainly finances
Readme 2.3 MiB
Languages
Go 48.8%
Python 30%
HTML 15.1%
JavaScript 2.9%
CSS 1.5%
Other 1.7%