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

14 lines
707 B
Text
Raw Permalink Normal View History

2018-09-14 19:33:27 +02:00
- title t('.title', name: @bank_account.name, balance: number_to_currency(@bank_account.balance))
2018-10-11 23:26:12 +02:00
- content_for :actionbar do
= link_to t('.assign_unlinked_transactions'), assign_unlinked_transactions_finance_bank_account_path(@bank_account), class: 'btn'
= link_to t('.import_transactions'), import_finance_bank_account_path(@bank_account), class: 'btn btn-primary'
2018-10-11 23:26:12 +02:00
2018-09-14 19:33:27 +02:00
.well.well-small
= form_tag finance_bank_account_transactions_path, :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('ui.search_placeholder')
#transactionsTable= render 'transactions'