]> git.koha-community.org Git - koha.git/commit
Bug 5708 : Get Correct Discount when levying rentalcharge
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 29 Mar 2011 13:57:41 +0000 (09:57 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 16 Apr 2011 15:02:35 +0000 (11:02 -0400)
commit8bb38b31f1a46a93d33dd133164aabb229371644
tree7bde6595072b3cdefdbdc7bede8f4ad53c4e2592
parent5977b58434bfb4023f05aebef92582ba6bc7377e
Bug 5708 : Get Correct Discount when levying rentalcharge

Branch can be a parameter so it should be included in the rule retrieval
Need to select the most appropriate rule from those returned
(was defaulting to first returned!)
Try to make what's happening a bit less opaque
null fields are returned as undefined not 'NULL' by DBI

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 88cb47339a8eab4ff4b95956207bf2d1dcdffeff)

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