From e1b73ad7cb970a52a6191aa5c73b7491db537327 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Sat, 27 Oct 2018 08:34:39 -0300 Subject: [PATCH] Bug 13098: Fix POD for Koha::Account::Offsets::total Signed-off-by: Tomas Cohen Arazi Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- Koha/Account/Offsets.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Koha/Account/Offsets.pm b/Koha/Account/Offsets.pm index bcc5a6486b..9b18a61eae 100644 --- a/Koha/Account/Offsets.pm +++ b/Koha/Account/Offsets.pm @@ -35,6 +35,12 @@ Account offsets track the changes made to the balance of account lines =head2 Class methods + my $offsets = Koha::Account::Offsets->search({ ... }); + my $total = $offsets->total; + +Returns the sum of the amounts of the account offsets resultset. If the resultset is +empty it returns 0. + =head3 total =cut -- 2.39.5