]> 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 Cormack <chrisc@catalyst.net.nz>
Wed, 30 Mar 2011 07:01:37 +0000 (20:01 +1300)
commit88cb47339a8eab4ff4b95956207bf2d1dcdffeff
tree3755f53f45790b9192fb396fd3ff1c5154cdc424
parent268f860e24171f3c5fe5f4b2c4a752e7c5abd5c1
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>
C4/Circulation.pm