Hide ordergroups with result = 0.

This commit is contained in:
Benjamin Meichsner 2009-04-03 18:01:19 +02:00
parent 30aa04b710
commit 578002501b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
%td{:colspan => "3",:style => "width:14em"}
= remote_link_to '[Gruppe hinzufügen]', :url => {:action => "new_group_order_article", :id => order_article}
%tbody
- for group_order_article in order_article.group_order_articles.all(:include => [:group_order])
- for group_order_article in order_article.group_order_articles.ordered.all(:include => [:group_order])
%tr{:class => cycle('even', 'odd', :name => 'results')}[group_order_article]
%td
%td{:style=>"width:50%"}