[Koha-bugs] [Bug 2936] Setting a discount rate (off rental charges) in the issuing rules.

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Wed Jan 6 21:56:38 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2936


Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at bigballofwax.co.nz
         AssignedTo|gmcharlt at gmail.com          |chris at bigballofwax.co.nz




--- Comment #1 from Chris Cormack <chris at bigballofwax.co.nz>  2010-01-06 20:56:38 ---
The field for this still exists in the database.
| rentaldiscount  | decimal(28,6) | YES  |     | NULL    |       |

And the code to apply this discount is still in place

 if ( $discount eq 'NULL' ) {
                $discount = 0;
            }
            $charge = ( $charge * ( 100 - $discount ) ) / 100;

There just is no interface to set it. So I will fix the interface and then this
feature should work again


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list