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

15 lines
575 B
Plaintext
Raw Normal View History

- title t('.title', name: @ordergroup.name)
- content_for :actionbar do
= link_to t('.new_transaction'), new_finance_ordergroup_transaction_path(@ordergroup), class: 'btn btn-primary'
- content_for :sidebar do
.well.well-small
%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))
2014-05-06 19:02:01 +02:00
= render 'transactions_search', url: finance_ordergroup_transactions_path(@ordergroup)
#transactions= render 'transactions', with_csv: true