]> git.koha-community.org Git - koha.git/commit
Bug 24255: Add summation methods to Koha::Account::Lines
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Dec 2019 15:58:21 +0000 (15:58 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Jan 2020 16:33:46 +0000 (16:33 +0000)
commit836079c1002273f9c6ab2b1c6b1dc638aa062768
tree32ea18e60dd112838aaaa7b73d37fb19594d35ea
parenta2bd9e361a6ec1f489f5a51892dcaa63b7d7a9a5
Bug 24255: Add summation methods to Koha::Account::Lines

This patch adds a number of summation methods to Koha::Account::Lines
giving quick access to overall total, total credits and total debits.

Test plan
1) Run the included tests

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Account/Lines.pm
t/db_dependent/Koha/Account/Lines.t