Simplifiying balancing view part 2. Lets call it finished.
This commit is contained in:
parent
dc0d1b3e46
commit
af3c07f031
26 changed files with 185 additions and 219 deletions
|
|
@ -1,2 +1,10 @@
|
|||
module Finance::OrderArticlesHelper
|
||||
|
||||
def new_order_articles_collection
|
||||
if @order.stockit?
|
||||
StockArticle.order(:name)
|
||||
else
|
||||
@order.supplier.articles.order(:name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue