This commit is contained in:
Nicolas Bally 2019-03-12 17:31:25 +01:00
parent 9c34f580b6
commit f521e0abf8
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class Admin::PDocumentsController < ApplicationController
params[:inline] = true
if false #!params[:html]
if !params[:html]
@temp_file = "#{Rails.root}/pdf/p_documents/#{@p_document.d_number}_temp.pdf"
@final_file = "#{Rails.root}/pdf/p_documents/#{@p_document.d_number}.pdf"

View File

@ -91,7 +91,7 @@
%td{:style => "width:100px"}
=l @element.created_at, :format => :date #@p_document.created_at
=l @p_document.created_at, :format => :date #@p_document.created_at
-if false
%td{:style => "width:70px"}