[Bug 13098] Item lost multiple times by the same patron will create only be charged once
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13098 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Version|unspecified |master --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Ok, this is the more complete tests I came up with. Use cases: - PF + L + Full write off - PF + L + Full payment - PF + L + No write off or payment - PF + L + Partial write off, partial payment, some remaining debt (L, amountoutstanding) The idea is that _FixAccountForLostAndFound should: - Consider write offs as good enough (so no CR for writeoffs) - Generate a single CR for all payments that reduced amountoutstanding for L - Write offs should be identified by looking at the account_offsets table, specifically when credit_id IS NOT NULL, debit_id is the L accountlines_id and type <> 'Writeoff'. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org