From 0c4a9ed24d789625e7e3ddb940bedd60b1ca9f59 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 13 Apr 2020 12:31:18 +0200 Subject: [PATCH] suite --- app/models/price_line.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/price_line.rb b/app/models/price_line.rb index 53f0dad..82cdc24 100644 --- a/app/models/price_line.rb +++ b/app/models/price_line.rb @@ -52,7 +52,7 @@ class PriceLine < ApplicationRecord end def ca_ship_price_ht - if self.ct_ship_price_ht? + if self.ct_ship_price_ht self.ct_ship_price_ht elsif self.p_product_ref and self.p_product_ref.p_product #self.p_product.caution