update promotion code for 15THB pro

This commit is contained in:
Kenta420 2023-10-27 12:34:39 +07:00
parent 970b16ee61
commit e099452885
4 changed files with 39 additions and 22 deletions

View file

@ -180,14 +180,9 @@
out_xml( '\t\tVar OpenFromXML = CurrentXMLFileName2\r\n')
if fixed_price > 0:
out_xml( '\t\tVar PriceD1 = '+ (('$' + spl[4] + '.Price') if spl[4] == '-' else str(fixed_price)) + '\r\n')
out_xml( '\t\tVar PriceD2 = '+ (('$' + spl[5] + '.Price') if spl[5] == '-' else str(fixed_price)) + '\r\n')
out_xml( '\t\tVar PriceD3 = '+ (('$' + spl[6] + '.Price') if spl[6] == '-' else str(fixed_price)) + '\r\n')
else:
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
out_xml( '\t\tVar PriceD3 = $' + spl[6] + '.Price\r\n')
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
out_xml( '\t\tVar PriceD3 = $' + spl[6] + '.Price\r\n')
out_xml( '\t\tVar PD_CODE1 = "' + pd_code_1 + '"\r\n')
out_xml( '\t\tVar PD_CODE2 = "' + pd_code_2 + '"\r\n')