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