]> git.koha-community.org Git - koha.git/commit
Bugs 6634: manager_id not recorded for payments and rental charges
authorIan Walls <ian.walls@bywatersolutions.com>
Wed, 27 Jul 2011 02:11:42 +0000 (22:11 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 15 Aug 2011 13:05:37 +0000 (09:05 -0400)
commitf1894dada948a7ccfedcfea112e064286ce01d77
tree37f875e6dd35ac477a8ee6b7e86833da76e8a14f
parentd3adb09b8045ff112c065906cfecc91ad27248af
Bugs 6634: manager_id not recorded for payments and rental charges

Manager_id, the borrowernumber of the staff person doing the action, was not recorded
for payments, rental charges, or rental charges on renewals.  This patch implements that.

This patch also adds the recording of itemnumber in a payment, by taking the itemnumber of
the account that it's paying off.  This addresses bug 2696, though it does not make any
change to the display logic of the Payments line in the staff client.

To test:
1.  Check out an item with an issuing charge
2.  Renew the item
3.  Pay one of the rental charges on the item
4.  Verify in koha.accountlines that each of the three above operations recorded your borrowernumber
in accountlines.manager_id

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 18c491542bd6e4dfd580ea3913a394fbdb8acd5a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Accounts.pm
C4/Circulation.pm