Remove wicked pdf stylsheet include tag in order report pdf [OFN-12214]

This commit is contained in:
wandji20
2024-08-06 11:23:50 +01:00
parent db7add88fe
commit fa004d0897
4 changed files with 0 additions and 15 deletions

View File

@@ -61,15 +61,6 @@ module ApplicationHelper
classes << shopfront_layout
end
def pdf_stylesheet_pack_tag(source)
if running_in_development?
options = { media: "all", host: "#{Webpacker.dev_server.host}:#{Webpacker.dev_server.port}" }
stylesheet_pack_tag(source, **options)
else
wicked_pdf_stylesheet_pack_tag(source)
end
end
def cache_with_locale(key = nil, options = {}, &block)
cache(cache_key_with_locale(key, I18n.locale), options) do
yield(block)

View File

@@ -1,5 +1,3 @@
= pdf_stylesheet_pack_tag "mail"
%table{:width => "100%"}
%tbody
%tr{ valign: "top" }

View File

@@ -1,5 +1,3 @@
= pdf_stylesheet_pack_tag "mail"
%table{:width => "100%"}
%tbody
%tr{ valign: "top" }

View File

@@ -1,5 +1,3 @@
= pdf_stylesheet_pack_tag "mail"
%table{:width => "100%"}
%tbody
%tr{ valign: "top" }