mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #9286 from jibees/9281-invoice-print-failed-when-enterprise-having-a-logo
Admin, print an invoice with alternative mode: fix an issue when enterprise has a logo
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
= t :tax_invoice
|
||||
- if @order.distributor.display_invoice_logo? && @order.distributor.logo.variable?
|
||||
%td{ :align => "right", rowspan: 2 }
|
||||
= wicked_pdf_image_tag @order.distributor.logo.variant(resize_to_limit: [150, 150])
|
||||
= wicked_pdf_image_tag @order.distributor.logo_url(:small)
|
||||
%tr{ valign: "top" }
|
||||
%td{ :align => "left" }
|
||||
- if @order.distributor.business_address.blank?
|
||||
|
||||
Reference in New Issue
Block a user