From 0368b94967d20035f15f626ae6935bee49008e69 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Tue, 27 Mar 2018 10:32:02 +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 cb117b3..5f84997 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"