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
1 changed files with 2 additions and 0 deletions

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)