foodsoft/app/views/foodcoop/ordergroups.html.haml
sandoz e32e97d178 Added "ordergroups" view to list the ordergroups
* You can search in the name.
* You can show only active order groups (order in last 3 months)
* Future feature: generate text and pdf files for the box
  labels
2009-04-18 15:39:07 +02:00

22 lines
No EOL
772 B
Text

%h1 Bestellgruppen der Foodcoop
.left_column{:style => "width:100%"}
.box_title
%h2 Übersicht
.column_content
#user_filter{:style => "margin-right:2em;"}
%form{:id=>"sform", :action=>"", :style=>"display:inline;"}
%label{:for => 'article_name'} Suche nach Name:
= text_field_tag("query", params['query'], :size => 10 )
%label{:for => 'only_active'} Nur aktive:
= check_box_tag('only_active')
= observe_form 'sform', :frequency => 2, |
:before => "Element.show('loader')", |
:success => "Element.hide('loader')", |
:url => {:action => 'ordergroups'}, |
:update => :order_groups, |
:method => :get |
#order_groups
= render :partial => "ordergroups"