Posted by joshmiller on June 7, 2012 at 6:54pm
4 followers
| Project: | Drupal Commerce |
| Version: | 7.x-1.x-dev |
| Component: | Payment |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Was creating a screenshot for the order balance comparison rule and got hit by the minor units vs. major units problem. I entered "12" thinking it would be "12.00" if I wanted to be extra precise. Where in fact it expects no decimal and I should have entered "1200" because "12" means $0.12.
Just added a quick explanation here.
Comments
#1
#2
bump.
#3
the patch does its job.
What about in the case Data comparison condition for the Commerce price amount?
#4
Sure thing - I put this in with a little tweak to the format to keep it on one line.
As for the data comparison, I'm not sure what we can do about that. It's a generic form supplied by the Rules module, and I don't know if we can tap into it or not. Might be we can swing it through a form alter - if you're up for it, feel free to research it and post a patch in a follow-up issue. I'd be interested in the same thing for the set a data value action on price amount columns.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.