[Koha-bugs] [Bug 27636] Replace Koha::Account::pay with a simpler method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 25 15:55:05 CEST 2021


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|This enhancement adds the   |This enhancement adds the
      release notes|new 'payin_amount' method   |new 'payin_amount' method
                   |to Koha::Account.
          |to Koha::Account.
                   |
                           |
                   |This                        |This
                   |method utilises the well    |method utilises the well
                   |tested                      |tested
                   |'Koha::Account->add_credit' |'Koha::Account->add_credit'
                   |and                         |and
                   |'Koha::Account::Line->apply |'Koha::Account::Line->apply
                   |' methods to achieve        |' methods to achieve
                   |consistent results when     |consistent results when
                   |paying in credit against    |paying in credit against
                   |debts.
                     |debts.
                   |
                           |
                   |The original 'pay'          |The original 'pay'
                   |method now uses             |method now uses
                   |payin_amount internally and |payin_amount internally and
                   |will be left intect for a   |will be left intact for a
                   |deprecation period.         |deprecation period.

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


More information about the Koha-bugs mailing list