THAI: Add TeaTime promotion & FIXED: bug cancel pay with cash will get discount drink in full price

This commit is contained in:
Kenta420 2024-04-02 16:42:19 +07:00
parent 7a500c37ec
commit 9ed5012bf6
178 changed files with 34040 additions and 202 deletions

View file

@ -173,6 +173,11 @@
monday_banana_original_prices = {}
monday_banana_fix_price = False
if current_file_name == "page_catalog_group_pro_tea_time.skt":
from_tea_time_pro = True
else:
from_tea_time_pro = False
#print ("######################################################################################################")
idx_of_eng = 2
out_xml('<FrameScroll> \r\n')
@ -479,6 +484,9 @@
if from_lipit_pro:
out_xml( '\t\tVar FromLipitPro = 1 \r\n')
if from_tea_time_pro:
out_xml( '\t\tVar FromTeaTimePro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t'+ button_add_string +'\r\n')
@ -1044,6 +1052,9 @@
if from_lipit_pro:
out_xml( '\t\tVar FromLipitPro = 1 \r\n')
if from_tea_time_pro:
out_xml( '\t\tVar FromTeaTimePro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t\r\n')