[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:50:27 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  |This enhancement completes
      release notes|the set of summation        |the set of summation
                   |methods available from a    |methods available from a
                   |Koha::Account::Lines        |Koha::Account::Lines
                   |resultset object,           |resultset object,
                   |complimenting the existing  |complimenting the existing
                   |`total_outstanding` method. |`total_outstanding` method.
                   |
                           |
                   |It introduces the           |It introduces the
                   |following methods:
         |following methods:
                   |
                           |
                   |`total`                     |*
                   |- Sum of all `amount`       |`total` - Sum of all
                   |fields in the accountlines  |`amount` fields in the
                   |set.
                       |accountlines set.
                   |`credits_total` - Sum       |*
                   |of all `amount` fields for  |`credits_total` - Sum of
                   |credits in the accountlines |all `amount` fields for
                   |set.
                       |credits in the accountlines
                   |`debits_total` - Sum        |set.
                   |of all `amount` fields for  |* `debits_total` - Sum
                   |debits in the accountlines  |of all `amount` fields for
                   |set.                        |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