2009-01-10 21:28:22 +01:00
|
|
|
%h1 Manage accounts
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
|
|
|
%i
|
|
|
|
=_ "To create multiple transactions at once please follow this "
|
2009-01-10 21:28:22 +01:00
|
|
|
= link_to _("link"), :action => 'new_collection'
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
.left_column{:style=>"width:50em"}
|
|
|
|
.box_title
|
|
|
|
%h2=_ "Ordergroups"
|
|
|
|
.column_content
|
|
|
|
#group_filter
|
|
|
|
%form{:name=>"sform", :action=>"", :style=>"display:inline;"}
|
|
|
|
%label{:for => 'article_name'}= _("Search in name") + ":"
|
|
|
|
= text_field_tag("query", params['query'], :size => 10 )
|
|
|
|
|
|
|
|
= observe_field 'query', :frequency => 2, |
|
|
|
|
:before => "Element.show('loader')", |
|
|
|
|
:success => "Element.hide('loader')", |
|
2009-01-10 21:28:22 +01:00
|
|
|
:url => {:action => 'index'}, |
|
2009-01-15 12:14:01 +01:00
|
|
|
:with => 'query', |
|
|
|
|
:update => 'ordergroups' |
|
|
|
|
#ordergroups
|
2009-01-10 21:28:22 +01:00
|
|
|
= render :partial => "ordergroups"
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
|
|
|
- if @current_user.role_admin?
|
2009-01-14 12:46:01 +01:00
|
|
|
= link_to _("New ordergroup"), :controller => 'admin', :action => 'newOrdergroup'
|