Bug 22511: Update void method to use status
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 Mar 2019 14:07:24 +0000 (14:07 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 11:02:14 +0000 (11:02 +0000)
commit1a25f1094d2d34163108b07b7486905cfbaac76f
tree7fd0e41f79af3e8abb7481c5a120f5e30a6f9fab
parent0db7b7a1c8e3c7d01971c93b311d2dc42d13c9cd
Bug 22511: Update void method to use status

We added a 'status' field to 'accountlines' in bug 22512 to allow for
more fined grained control over 'types' and 'states'.

This patch updates the void method to utilise this new field so we may
keep the original credit type for later auditing should it be required.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Account/Line.pm