Commit dd9e8ec6 authored by Tugce Nur Tas's avatar Tugce Nur Tas

Merge branch 'fix/billing-expenses-pdf-download' into 'develop'

fix selected billing expenses download button

See merge request !1007
parents dbdd8f88 18970ead
Pipeline #64403 passed with stage
in 48 minutes and 5 seconds
......@@ -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