This commit is contained in:
Nicolas Bally 2020-04-12 17:06:12 +02:00
parent 8ff4a733b8
commit 22b336f738
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class PriceDocument < ApplicationRecord
@final_file = "#{Rails.root}/pdf/price_documents/#{doc_number}_temp2.pdf"
@final_file2 = "#{Rails.root}/pdf/price_documents/#{doc_number}.pdf"
url = (Rails.env.development? ? "http://localhost:4000" : "http://lockaz.fr").to_s+url
url = (Rails.env.development? ? "http://localhost:4000" : "https://lockaz.fr").to_s+url
puts url
pdf = ("pdf")

View File

@ -61,7 +61,7 @@
-price_line_block = @price_document.price_line_block
%body
%div{:style => "float:right;margin-top:3cm;font-size:14px;margin-bottom:1cm;padding-right:2cm;width:350px;"}
%div{:style => "float:right;margin-top:3cm;font-size:14px;margin-bottom:1cm;padding-right:2cm;width:370px;"}
%table{:style => "width:100%;"}
%tr
%td{:style => "width:50%;"}