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
This commit is contained in:
parent
e95cdad5ec
commit
e32e97d178
2 changed files with 21 additions and 12 deletions
|
|
@ -5,17 +5,18 @@
|
|||
%h2 Übersicht
|
||||
.column_content
|
||||
#user_filter{:style => "margin-right:2em;"}
|
||||
%form{:name=>"sform", :action=>"", :style=>"display:inline;"}
|
||||
%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_field 'query', :frequency => 2, |
|
||||
:before => "Element.show('loader')", |
|
||||
:success => "Element.hide('loader')", |
|
||||
:url => {:action => 'ordergroups'}, |
|
||||
:update => :order_groups, |
|
||||
:with => 'query', |
|
||||
:method => :get |
|
||||
= 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue