From d9a8bbefed42f3dc9ecaa407dbaaa769328ef48c Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 26 Mar 2018 00:26:30 +0200 Subject: [PATCH] suite --- app/controllers/admin/product_orders_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/product_orders_controller.rb b/app/controllers/admin/product_orders_controller.rb index 0826486..9128e0a 100755 --- a/app/controllers/admin/product_orders_controller.rb +++ b/app/controllers/admin/product_orders_controller.rb @@ -338,7 +338,7 @@ class Admin::ProductOrdersController < ApplicationController end if @product_order.bl_number? - if false + if true @temp_file = "#{Rails.root}/pdf/bl/BL_#{@product_order.id}_temp.pdf" @final_file = "#{Rails.root}/pdf/bl/BL_#{@product_order.id}.pdf"