fix for gen pdf
This commit is contained in:
parent
6dcea6310c
commit
3b2122858d
|
|
@ -28,7 +28,7 @@ module PsAdmin
|
|||
def gen_pdf_file
|
||||
otp = OrderToPdf.new(@order).call
|
||||
|
||||
send_file otp
|
||||
send_data otp, filename: otp.file_name
|
||||
end
|
||||
|
||||
def status_histories
|
||||
|
|
|
|||
Loading…
Reference in New Issue