Add CSV downloads for BankTransaction and Invoice
This commit is contained in:
parent
e0c0834690
commit
9f2e630266
6 changed files with 96 additions and 6 deletions
|
|
@ -1,4 +1,8 @@
|
|||
.pull-right
|
||||
.btn-group
|
||||
= link_to url_for(query: params[:query], format: :csv), class: 'btn' do
|
||||
= glyph :download
|
||||
CSV
|
||||
- if @bank_transactions.total_pages > 1
|
||||
.btn-group= items_per_page wrap: false
|
||||
= pagination_links_remote @bank_transactions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue