Adds fk_statement column for existing installations that were
created before this column was added to the schema.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The column in llx_paiementfourn_facturefourn is fk_paiementfourn (no underscore)
not fk_paiement_fourn. This caused payment lookups to fail, creating
duplicate payments instead of linking to existing ones.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When linking paid invoices that already have bank entries:
- Added missing commit() and return after update() in bank_line branch
- Added proper error handling for update() failures
- Fixed both single invoice (linkExistingPayment) and multi-invoice linking
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>