Koha/members
Martin Renvoize 35d1c7c41c Bug 27971: Update void method to use double entry accounting
This patch adds double-entry accounting to the Koha::Account::Line->void method.

This results in the addition of a VOID debit type line that is offset
against the original credit type line that is being voided. This allows
us to accurately record when the void took place, at what branch and by
whome the void was triggered.

Test plan
1/ Apply the database update
2/ Add some debts to a borrower account
3/ Pay those debts
4/ Void the payment
5/ A new 'VOID' line should appear on the account for the full amount of
the original payment.
6/ Payments should have all been reversed
7/ t/db_dependent/Koha/Account/Line.t should still pass
8/ Signoff

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-23 11:58:49 +02:00
..
accountline-details.pl
apikeys.pl
boraccount.pl Bug 27971: Update void method to use double entry accounting 2021-04-23 11:58:49 +02:00
cancel-charge.pl
default_messageprefs.pl
deletemem.pl
discharge.pl
discharges.pl
files.pl
guarantor_search.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
holdshistory.pl
housebound.pl
ill-requests.pl
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl
member.pl
memberentry.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
members-home.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl
notices.pl
patronimage.pl
pay.pl Bug 28147: Pass itemnumber through to Account->pay 2021-04-16 12:28:17 +02:00
paycollect.pl
print_overdues.pl
printfeercpt.pl Revert "Bug 26734: Ratify account slip printing" 2021-04-14 15:22:29 +02:00
printinvoice.pl Revert "Bug 26734: Ratify account slip printing" 2021-04-14 15:22:29 +02:00
printslip.pl Bug 27851: Use filter_by_todays_checkins in printslip.pl 2021-03-05 13:54:13 +01:00
purchase-suggestions.pl
readingrec.pl Bug 27851: Use filter_by_todays_checkins in members/readingrec.pl 2021-03-05 13:54:13 +01:00
routing-lists.pl
setstatus.pl
statistics.pl
summary-print.pl
update-child.pl Bug 23271: Replace search_limited with search_with_library_limits 2021-04-21 15:25:07 +02:00