fix financial transaction type not found

This commit is contained in:
viehlieb 2023-12-11 13:14:02 +01:00
parent 219b5f2de8
commit bcc647dabb
2 changed files with 2 additions and 3 deletions

View file

@ -63,8 +63,7 @@ class GroupOrderInvoicePdf < RenderPdf
end
move_down 20
text I18n.t('documents.group_order_invoice_pdf.payment_method', payment_method: FinancialTransactionType.find(@options[:payment_method]).name)
text I18n.t('documents.group_order_invoice_pdf.payment_method', payment_method: @options[:payment_method])
text I18n.t('documents.group_order_invoice_pdf.table_headline')
move_down 5