Commit 18970ead authored by Tugce Nur Tas's avatar Tugce Nur Tas

fix selected billing expenses download button

parent dbdd8f88
......@@ -32,7 +32,7 @@ class BillingExpensesController < ApplicationController
billing_expenses.each do |billing_expense|
@billing_expense = billing_expense
merged_expenses << CombinePDF.parse(render_to_pdf('show.html'))
merged_expenses << CombinePDF.parse(render_to_pdf('show.html', layout: WickedPdf.config[:layout]))
end
send_data merged_expenses.to_pdf,
......
......@@ -11,7 +11,7 @@ h1
ul.list-inline
li= clear_filter_button
= custom_filter_dropdown(t_attr(:semester, BillingExpense), *@billing_semester_filters)
li=> f.button :submit, 'Auswahl herunterladen', data: { disable_with: false }
li= f.button :submit, 'Auswahl herunterladen', data: { disable_with: false }
li
- if @volunteer
=> button_link icon_span(:back), @volunteer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment