THAI: Add assets Cocoa 7.7 pro
This commit is contained in:
parent
324e18880d
commit
53bf26c207
146 changed files with 126 additions and 11 deletions
|
|
@ -236,6 +236,13 @@
|
|||
else:
|
||||
from_nam_hom_coconut = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_cocoa77.skt":
|
||||
from_cocoa77 = True
|
||||
cocoa77_fix_price = True
|
||||
else:
|
||||
from_cocoa77 = False
|
||||
cocoa77_fix_price = False
|
||||
|
||||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
|
|
@ -445,6 +452,10 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_3)) + '\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price - 7\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price - 7\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = $' + spl[6] + '.Price - 7\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
|
|
@ -556,6 +567,9 @@
|
|||
|
||||
if from_nam_hom_coconut:
|
||||
out_xml( '\t\tVar FromNamHomCoconutPro = 1 \r\n')
|
||||
|
||||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
|
|
@ -760,6 +774,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(monday_banana_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -771,6 +787,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(monday_banana_prices, spl[5])) + '" </Value>\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[5])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -843,6 +861,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(monday_banana_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -854,6 +874,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(monday_banana_prices, spl[6])) + '" </Value>\r\n')
|
||||
elif wednesday_melon_fix_price:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[6])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -1050,6 +1072,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = ' + str(GetOriginalPrice(wednesday_melon_original_prices, pd_code_3)) + '\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price - 7\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price - 7\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = $' + spl[10] + '.Price - 7\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
|
|
@ -1151,6 +1180,9 @@
|
|||
|
||||
if from_nam_hom_coconut:
|
||||
out_xml( '\t\tVar FromNamHomCoconutPro = 1 \r\n')
|
||||
|
||||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue