[Koha-bugs] [Bug 28656] Cancellations should be allowed on paid/partially paid debts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 6 10:59:04 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28656

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |Needs Signoff

--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Still needs tests updating.

I'm not 100% sure about the mechanism if I'm honest... re-embursing the patron
now has two differing options that have pretty different outcomes.. I almost
feel like we should offer a system preference for the two ways of recording the
history.

With this patch, the cancel method will 'reverse' any applied payment offsets..
thus giving back any outstanding balance to the original credit. (In the UI we
actually still prevent 'Cancellation' on lines that have any such offsets
however.. we only allow cancellation if no payments have been made but we do
now allow discounted/written off debts to be cancelled).

The 'refund' option will add a refund accountline and immediately apply it to
the debt.. any outstanding balance is then left on the 'refund' line which is
returned from the method.. which can then be 'paid out'.  I'm was thinking it
would be nice to split the 'refund' and 'refund credit'.  So this doesn't
'reverse' payments.. it adds a new 'credit' instead.. which can be immediately
paid out.

Thoughts

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list