2012-06-21 17:19:00 +02:00
|
|
|
module Finance::OrderArticlesHelper
|
2012-07-27 18:03:46 +02:00
|
|
|
|
|
|
|
def new_order_articles_collection
|
|
|
|
if @order.stockit?
|
|
|
|
StockArticle.order(:name)
|
|
|
|
else
|
|
|
|
@order.supplier.articles.order(:name)
|
|
|
|
end
|
|
|
|
end
|
2012-06-21 17:19:00 +02:00
|
|
|
end
|