i18n and translate missing entry

This commit is contained in:
wvengen 2013-06-15 18:43:42 +02:00
parent 8c08de9eae
commit 713c030213
4 changed files with 4 additions and 1 deletions

View file

@ -33,7 +33,7 @@ class Order < ActiveRecord::Base
end
def name
stockit? ? "Lager" : supplier.name
stockit? ? I18n.t('orders.model.stock') : supplier.name
end
def articles_for_ordering