foodsoft/app/views/finance/transactions/index.html.haml

25 lines
863 B
Text
Raw Normal View History

%h1 Manage accounts
2009-01-06 11:49:19 +01:00
%p
%i
=_ "To create multiple transactions at once please follow this "
= 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')", |
:url => {:action => 'index'}, |
2009-01-06 11:49:19 +01:00
:with => 'query' |
#table
= render :partial => "ordergroups"
2009-01-06 11:49:19 +01:00
%br/
- if @current_user.role_admin?
= link_to _("New ordergroup"), :controller => 'admin', :action => 'newOrderGroup'