http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11680

Galen Charlton <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Needs Signoff
                 CC|                            |[email protected]

--- Comment #11 from Galen Charlton <[email protected]> ---
Setting back to needs signoff so that the follow-up can be tested.

A couple notes:

[1] The reason for the bug is that Template Toolkit's equality operator (==) is
implemented using the Perl 'eq' operator.  If the comparison were numeric, then

  0.2 == 0.20 evaluates to true

But since it's using 'eq',

  '0.2' eq '0.20' is NOT true

The trick of adding 0.0 forces a normalization of the tax rate.

[2] It would be worth writing a subroutine for getting the list of tax rates.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to