diff --git a/app/views/spree/admin/orders/invoice.pdf.prawn b/app/views/spree/admin/orders/invoice.pdf.prawn index 551f618a..b49c2f61 100644 --- a/app/views/spree/admin/orders/invoice.pdf.prawn +++ b/app/views/spree/admin/orders/invoice.pdf.prawn @@ -8,7 +8,7 @@ repeat(:all) do im = Rails.application.assets.find_asset(Spree::PrintInvoice::Config[:logo_path]) if im && File.exist?(im.pathname) - image im, vposition: :top, height: 40, scale: Spree::PrintInvoice::Config[:logo_scale] + image im.filename, vposition: :top, height: 40, scale: Spree::PrintInvoice::Config[:logo_scale] end grid([0,3], [0,4]).bounding_box do