THAI: Discount promotions [topping_select7, 8]

This commit is contained in:
Ittipat Lusuk 2025-07-10 01:06:48 +07:00
parent a020f80ae0
commit 2fbacb359f
9 changed files with 501 additions and 21 deletions

View file

@ -279,6 +279,15 @@
out_xml('\t\t\tElse\n')
out_xml('\t\t\t\tVar PriceD3 = $' + pd_code_3 + '.Price\n')
out_xml('\t\t\tEndIf\n')
out_xml('\t\t\tVar PriceMain[0] = $' + pd_code_1 + '.Price\n')
out_xml('\t\t\tVar PriceMain[1] = $' + pd_code_2 + '.Price\n')
out_xml('\t\t\tVar PriceMain[2] = $' + pd_code_3 + '.Price\n')
out_xml('\t\t\tVar PriceDiscount[0] = $' + pd_code_1 + '.Discount\n')
out_xml('\t\t\tVar PriceDiscount[1] = $' + pd_code_2 + '.Discount\n')
out_xml('\t\t\tVar PriceDiscount[2] = $' + pd_code_3 + '.Discount\n')
out_xml('\t\t\tVar PriceTag[0] !assigned GETS($' + pd_code_1 + '.TAG,"PROMOS")\n')
out_xml('\t\t\tVar PriceTag[1] !assigned GETS($' + pd_code_2 + '.TAG,"PROMOS")\n')
out_xml('\t\t\tVar PriceTag[2] !assigned GETS($' + pd_code_3 + '.TAG,"PROMOS")\n')
out_xml('\t\t\tVar PD_CODE1 = "' + pd_code_1 + '"\n')
out_xml('\t\t\tVar PD_CODE2 = "' + pd_code_2 + '"\n')
out_xml('\t\t\tVar PD_CODE3 = "' + pd_code_3 + '"\n')