]> git.koha-community.org Git - koha.git/commit
Bug 30612: Add accountlines method to Koha::Checkout and Koha::Old::Checkout
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 8 Jun 2022 17:41:56 +0000 (13:41 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Aug 2022 12:59:05 +0000 (09:59 -0300)
commit58dfeff13a2ade61a6a3eda2a4339b4b1cf02637
tree8d54d2ba6c5af737df2fea6af4384d54ab26c61c
parentad0aa754ee2a3e8e438594a54b2375b994753951
Bug 30612: Add accountlines method to Koha::Checkout and Koha::Old::Checkout

It would be very useful to have an accountlines method on checkouts objects. In particular it would make fees related to a checkout available from the checkout objects in overdue notices.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/Koha/Account/Line.t
3) prove t/db_dependent/Koha/Checkouts.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Checkout.pm
Koha/Old/Checkout.pm
t/db_dependent/Koha/Account/Line.t
t/db_dependent/Koha/Checkouts.t