Fix discount and parenthesis
authorMaxime Bourget <bmx007@gmail.com>
Sun, 26 May 2013 17:32:45 +0000 (18:32 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Sun, 26 May 2013 17:46:56 +0000 (18:46 +0100)
commit42e69c0aabcfcc8891e55db7b43456314a3e41d1
tree6c24601783745d5a0864030c2e1152ca328f87ee
parent51dec5a7d1a0101364f553645d2e8ce9ea0b78af
Fix discount and parenthesis

Now parse line return the *raw* discount (instead of /100).
Meaning its treated exactly as the other.

Before formula where converted to integer (/100)
before being expanded or evaluated.
includes/textcart_manager.inc
test/textcartManager/parseTest.php
test/textcartManager/processTest.php