suite
This commit is contained in:
parent
4eb5271e39
commit
c0c6c94896
@ -53,9 +53,10 @@ class PriceLine < ApplicationRecord
|
|||||||
|
|
||||||
def ca_ship_price_ht
|
def ca_ship_price_ht
|
||||||
if self.ct_ship_price_ht
|
if self.ct_ship_price_ht
|
||||||
self.ct_ship_price_ht
|
self.ct_ship_price_ht.to_f
|
||||||
elsif self.p_product_ref and self.p_product_ref.p_product
|
elsif self.p_product_ref and self.p_product_ref.p_product
|
||||||
#self.p_product.caution
|
#self.p_product.caution
|
||||||
|
0.0
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -74,9 +74,10 @@
|
|||||||
|
|
||||||
-if particular_doc.organisation?
|
-if particular_doc.organisation?
|
||||||
%strong=particular_doc.organisation
|
%strong=particular_doc.organisation
|
||||||
-if particular_doc.organisation?
|
|
||||||
%br
|
%br
|
||||||
|
-if particular_doc.com_name?
|
||||||
=particular_doc.com_name
|
=particular_doc.com_name
|
||||||
|
%br
|
||||||
|
|
||||||
|
|
||||||
-if particular_doc.firstname? or particular_doc.name?
|
-if particular_doc.firstname? or particular_doc.name?
|
||||||
@ -109,9 +110,10 @@
|
|||||||
|
|
||||||
-if particular_doc.organisation?
|
-if particular_doc.organisation?
|
||||||
%strong=particular_doc.organisation
|
%strong=particular_doc.organisation
|
||||||
-if particular_doc.organisation?
|
|
||||||
%br
|
%br
|
||||||
|
-if particular_doc.com_name?
|
||||||
=particular_doc.com_name
|
=particular_doc.com_name
|
||||||
|
%br
|
||||||
|
|
||||||
|
|
||||||
-if particular_doc.firstname? or particular_doc.name?
|
-if particular_doc.firstname? or particular_doc.name?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user