]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Apr 2018 20:20:54 +0000 (17:20 -0300)
commitdc5d3b9abd34b0e80794fff7029809b7438bcefa
tree4d5e92ecbca9b8df3fe7333813c34a81241796e9
parentf553d76600e967b4492f03494f34170c8cf5d83e
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