suite
This commit is contained in:
parent
8ff4a733b8
commit
22b336f738
@ -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")
|
||||
|
||||
|
@ -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%;"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user