show lines with zero units but with member orders in balancing screen (closes foodcoops/foodsoft#179)
This commit is contained in:
parent
9ac9d1ea50
commit
6cfaa4979a
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ class Finance::BalancingController < Finance::BaseController
|
|||
flash.now.alert = t('finance.balancing.new.alert') if @order.closed?
|
||||
@comments = @order.comments
|
||||
|
||||
@articles = @order.order_articles.ordered.includes(:article, :article_price,
|
||||
@articles = @order.order_articles.ordered_or_member.includes(:article, :article_price,
|
||||
group_order_articles: {group_order: :ordergroup})
|
||||
|
||||
sort_param = params['sort'] || 'name'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue