Marc 0143ddd655 Fix reconciliation: use SQL float8 cast for numeric fields
pgx v5 returns PostgreSQL numeric as pgtype.Numeric (not float64)
when scanning into interface{}. The reconcile method now reads line
data directly via SQL with ::float8 casts instead of ORM Read().

Verified end-to-end: Invoice receivable (1000) + Payment credit (-1000)
→ partial_reconcile created → residuals zeroed → full_reconcile created
→ invoice payment_state = 'paid'.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 00:32:38 +02:00
Description
No description provided
65 MiB
Languages
JavaScript 55.3%
Fluent 18.6%
Go 15.9%
SCSS 7.4%
CSS 2.2%
Other 0.6%