[Koha-bugs] [Bug 24252] Add credits, debits, credit_offsets and debit_offsets relationships to Koha::Account::Line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 8 15:08:40 CET 2020


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 96995
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96995&action=edit
Bug 24252: Add relations to Koha::Account::Line

This patch adds two new relationships to the Koha::Account::Line object.

* credit_offsets - returns all credit type Koha::Account::Offsets
  related to this Koha::Account::Line.
* debit_offsets - returns all debit type Koha::Account::Offsets related
  to this Koha::Account::Line.
* credits - returns all credits related to this Koha::Account::Line.
* debits - returns all debits related to this Koha::Account::Line.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list