Koha/members
Martin Renvoize 9c709b871f Bug 24603: (follow-up) Update to double entry accounting
This patch updates the logic to create a cancellation accountline and
apply it to the charge line so we correction record the transaction in
terms of double entry accounting standards.

Test plan:
1. Go to a patron's accounting section
2. Create a manual invoice
3. In Transactions tab, you should see a 'Cancel charge' button. Click
   on it. It should now be marked as cancelled
4. A cancellation line should be associated with the original charge.
5. Create another manual invoice
6. Pay it (partially or fully)
7. Notice that the 'Cancel charge' button is not available
8. Void the payment
9. 'Cancel charge' button is available again. Click on it and verify
   that it still works
10. prove t/db_dependent/Koha/Account/Lines.t

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

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

Bug 24603: Fix number of unit tests

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-10 15:00:14 +01:00
..
accountline-details.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
apikeys.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
boraccount.pl Bug 24603: Allow to cancel charges in patron accounting 2020-11-10 15:00:09 +01:00
cancel-charge.pl Bug 24603: (follow-up) Update to double entry accounting 2020-11-10 15:00:14 +01:00
default_messageprefs.pl
deletemem.pl Bug 14708: (QA follow-up) Use try/catch blocks when calling delete() on a patron 2020-11-06 09:40:25 +01:00
discharge.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
discharges.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
files.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
guarantor_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
holdshistory.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
housebound.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
ill-requests.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
mancredit.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
maninvoice.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
member-flags.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
member-password.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
member.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
memberentry.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
members-home.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
members-update-do.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
members-update.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
merge-patrons.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
mod_debarment.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
moremember.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
notices.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
patronimage.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
pay.pl Bug 26915: Fix FinePaymentAutoPopup behaviour 2020-11-05 15:24:20 +01:00
paycollect.pl Bug 24786: Update paycollect to use session register 2020-11-06 15:39:59 +01:00
print_overdues.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
printfeercpt.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
printinvoice.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
printslip.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
purchase-suggestions.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
readingrec.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
routing-lists.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
setstatus.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
statistics.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
summary-print.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
update-child.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00