Koha-clms/Koha/Account
Tomas Cohen Arazi df91e14135 Bug 21607: Make Koha::Account::Line->apply store credits as negative amounts
This is a trivial patch, that makes offsets have 'amount' stored as
negative values for applied credits.

The behaviour is changed on the tests and adjusted in the code. To test:
- Run
  $ kshell
 k$ prove t/db_dependent/Koha/Account/Lines.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-10-19 17:27:43 +00:00
..
Line.pm Bug 21607: Make Koha::Account::Line->apply store credits as negative amounts 2018-10-19 17:27:43 +00:00
Lines.pm Bug 20997: (follow-up) Minor POD fixes 2018-08-10 12:30:35 +00:00
Offset.pm Bug 2696: (QA follow-up) Fix POD, results sorting, permissions 2018-04-24 14:01:47 -03:00
Offsets.pm Bug 14826: (QA follow-up) POD fixes 2017-10-20 17:14:32 -03:00