add view for all transactions + csv

This commit is contained in:
wvengen 2014-05-06 19:02:01 +02:00
parent b5b4ccd922
commit ef0888f38d
15 changed files with 111 additions and 19 deletions

View file

@ -8,11 +8,7 @@
%strong= t('.balance', balance: number_to_currency(@ordergroup.account_balance))
%br/
%small= t('.last_updated_at', when: distance_of_time_in_words(Time.now, @ordergroup.account_updated))
.well.well-small
= form_tag finance_ordergroup_transactions_path(@ordergroup), :method => :get, :remote => true,
'data-submit-onchange' => true, class: 'form-search' do
= text_field_tag :query, params[:query], class: 'input-medium search-query',
placeholder: t('.search_placeholder')
= render 'transactions_search', url: finance_ordergroup_transactions_path(@ordergroup)
#transactions= render 'transactions'
#transactions= render 'transactions'