Fixed finance module to work with bootstrap design.
This commit is contained in:
parent
16de9124fe
commit
0236fb5a60
55 changed files with 440 additions and 486 deletions
|
|
@ -8,7 +8,7 @@ class GroupOrderArticle < ActiveRecord::Base
|
|||
belongs_to :order_article
|
||||
has_many :group_order_article_quantities, :dependent => :destroy
|
||||
|
||||
validates_presence_of :group_order_id, :order_article_id
|
||||
validates_presence_of :group_order, :order_article
|
||||
validates_inclusion_of :quantity, :in => 0..99
|
||||
validates_inclusion_of :result, :in => 0..99, :allow_nil => true
|
||||
validates_inclusion_of :tolerance, :in => 0..99
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue