[Koha-bugs] [Bug 24255] Add totals methods Koha::Account::Lines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 17:46:58 CET 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement completes
      release notes|                            |the set of summation
                   |                            |methods available from a
                   |                            |Koha::Account::Lines
                   |                            |resultset object,
                   |                            |complimenting the existing
                   |                            |`total_outstanding` method.
                   |                            |
                   |                            |It introduces the
                   |                            |following methods:
                   |                            |
                   |                            |`total`
                   |                            |- Sum of all `amount`
                   |                            |fields in the accountlines
                   |                            |set.
                   |                            |`credits_total` - Sum
                   |                            |of all `amount` fields for
                   |                            |credits in the accountlines
                   |                            |set.
                   |                            |`debits_total` - Sum
                   |                            |of all `amount` fields for
                   |                            |debits in the accountlines
                   |                            |set.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list