harry-g / fairpos

Automatically exported from code.google.com/p/fairpos
0 stars 0 forks source link

Ticket list search (edit sales) has price conditions x 100 #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open Edit sales
2. in "Total" condition select "Greater" or "Less", enter some price 
3. execute search
4. observe that tickets are not filtered appropriately

What is the expected output? What do you see instead?
* current: eg. less than $5.00 gives results less than $500
* exp: less than $5.00 gives results with prices lower than $5

Original issue reported on code.google.com by benes.vi...@gmail.com on 10 Jul 2012 at 8:08

GoogleCodeExporter commented 9 years ago
Ah, this is because I manipulated all places to use entry of cents without dot 
instead of before entering EUR.Cent. Indeed as feared it was not at really all 
places. So we need to add some *100 or /100 there...

Original comment by harald.g...@gmail.com on 10 Jul 2012 at 9:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
fixed (r103): search uses 100x amount entered

Original comment by benes.vi...@gmail.com on 13 Jul 2012 at 12:43

GoogleCodeExporter commented 9 years ago
Verified, OK!

Original comment by harald.g...@gmail.com on 13 Jul 2012 at 7:56