Bug 20562: issue_id is not stored in accountlines for rental fees
authorKyle M Hall <kyle@bywatersolutions.com>
Sun, 8 Apr 2018 07:11:11 +0000 (07:11 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 22 May 2018 10:05:09 +0000 (10:05 +0000)
commit13c9c3686be19b9717edbc90ef586414248d9b68
tree03399826dae078bfeccf123fc11f96bd41e919f6
parenta4946164f6c7b43eff22b041c0b1eacd3a232f9d
Bug 20562: issue_id is not stored in accountlines for rental fees

Test Plan:
1) Apply this patch
2) Assign a charge to an item type
3) Checkout an item of that type to a patron
4) View the accountlines table for that patron
SELECT * FROM accountlines WHERE accounttype='Rent' and borrowernumber=##;
5) Note there is an issue_id

Or

1) Apply this patch
2) prove t/db_dependent/Circulation/issue.t

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
t/db_dependent/Circulation/issue.t