Translations for articles-pages.
This commit is contained in:
parent
6202e05841
commit
053593f718
12 changed files with 89 additions and 104 deletions
|
|
@ -35,7 +35,6 @@ class Article < ActiveRecord::Base
|
|||
has_many :article_prices, :order => "created_at"
|
||||
|
||||
named_scope :available, :conditions => {:availability => true}
|
||||
named_scope :not_in_stock, :conditions => {:type => nil}
|
||||
|
||||
# Validations
|
||||
validates_presence_of :name, :unit, :price, :tax, :deposit, :unit_quantity, :supplier_id, :article_category_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue