Fixed input control in balancing mode.

This commit is contained in:
Benjamin Meichsner 2010-07-01 16:12:02 +02:00
parent fbf6a283a0
commit 5f51afb5ee

View file

@ -15,6 +15,8 @@ class ArticlePrice < ActiveRecord::Base
belongs_to :article
has_many :order_articles
validates_presence_of :price, :tax, :deposit, :unit_quantity
# Custom attribute setter that accepts decimal numbers using localized decimal separator.
def price=(price)