Martin Renvoize
35d1c7c41c
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> |
||
---|---|---|
.. | ||
account_credit_types.sql | ||
account_debit_types.sql | ||
account_offset_types.sql | ||
audio_alerts.sql | ||
auth_val_cat.sql | ||
keyboard_shortcuts.sql | ||
message_transport_types.sql | ||
sample_notices_message_attributes.sql | ||
sample_notices_message_transports.sql | ||
subtag_registry.sql | ||
sysprefs.sql | ||
userflags.sql | ||
userpermissions.sql |