suite
This commit is contained in:
parent
9c34f580b6
commit
f521e0abf8
@ -26,7 +26,7 @@ class Admin::PDocumentsController < ApplicationController
|
|||||||
params[:inline] = true
|
params[:inline] = true
|
||||||
|
|
||||||
|
|
||||||
if false #!params[:html]
|
if !params[:html]
|
||||||
|
|
||||||
@temp_file = "#{Rails.root}/pdf/p_documents/#{@p_document.d_number}_temp.pdf"
|
@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"
|
@final_file = "#{Rails.root}/pdf/p_documents/#{@p_document.d_number}.pdf"
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%td{:style => "width:100px"}
|
%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
|
-if false
|
||||||
%td{:style => "width:70px"}
|
%td{:style => "width:70px"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user