Bug 21896: (QA follow-up) Document and Test for FIFO behaviour
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 29 Nov 2018 13:49:27 +0000 (13:49 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 10 Dec 2018 09:55:46 +0000 (09:55 +0000)
commiteba382d9c129cadc100a05c29daf14210426b392
tree4c36d095c7d151cf161c95f7d8bcb7e8db3551a2
parent8ff04c0fbaba891f4193bbc9478aeb85f1fb5175
Bug 21896: (QA follow-up) Document and Test for FIFO behaviour

A short dicussion lead to the decision to make it explictly clear that
this method will implicitly apply credits against debits in a 'First In
First Out' manor, meaning oldest outstanding debits will be paid off
first.

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 99535e0fda491d2e1d704dd80f6613c0a7b8d06b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Account.pm
Koha/Account/Line.pm
Koha/Schema/Result/Accountline.pm
t/db_dependent/Koha/Account.t