THAI: fix bug Monday Banana when price is empty
This commit is contained in:
parent
230ba6ae86
commit
06e13f05cf
2 changed files with 16 additions and 16 deletions
|
|
@ -6,13 +6,13 @@
|
|||
elif product_code_3 in price_list:
|
||||
return price_list[product_code_3]
|
||||
else:
|
||||
return ""
|
||||
return '"-"'
|
||||
|
||||
def GetPrice(price_list, product_code):
|
||||
if product_code in price_list:
|
||||
return price_list[product_code]
|
||||
else:
|
||||
return ""
|
||||
return '"-"'
|
||||
|
||||
def GetOriginalPrice_Old(original_price_list, product_code_1, product_code_2, product_code_3):
|
||||
if product_code_1 in original_price_list:
|
||||
|
|
@ -22,13 +22,13 @@
|
|||
elif product_code_3 in original_price_list:
|
||||
return original_price_list[product_code_3]
|
||||
else:
|
||||
return ""
|
||||
return '"-"'
|
||||
|
||||
def GetOriginalPrice(original_price_list, product_code):
|
||||
if product_code in original_price_list:
|
||||
return original_price_list[product_code]
|
||||
else:
|
||||
return ""
|
||||
return '"-"'
|
||||
|
||||
def GetTricker(tricker_list, product_code_1, product_code_2, product_code_3):
|
||||
if product_code_1 in tricker_list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue