2018-10-11 22:16:50 +02:00
|
|
|
.modal-header
|
|
|
|
= close_button :modal
|
2019-10-30 12:42:41 +01:00
|
|
|
%h3= t('.title')
|
2018-10-11 22:16:50 +02:00
|
|
|
.modal-body
|
|
|
|
%table.table.table-striped
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= heading_helper BankTransaction, :date
|
|
|
|
%th= heading_helper BankTransaction, :text
|
|
|
|
%th= heading_helper BankTransaction, :reference
|
|
|
|
%th= heading_helper BankTransaction, :amount
|
|
|
|
%tbody
|
|
|
|
- for t in @bank_transactions
|
|
|
|
%tr
|
|
|
|
%td= link_to format_time(t.date), add_bank_transaction_finance_link_path(@financial_link, bank_transaction: t.id), method: :put
|
|
|
|
%td= t.text
|
|
|
|
%td= t.reference
|
|
|
|
%td= number_to_currency t.amount
|
|
|
|
.modal-footer
|
|
|
|
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
|