add smoothies

This commit is contained in:
wanlop run 2025-04-06 15:54:55 +07:00
parent 53b641c56b
commit 72a1d0c489
19 changed files with 32877 additions and 518 deletions

View file

@ -393,17 +393,19 @@
str_con_var += spl[6] + '-'
str_con_var = str_con_var.replace("-", "")
try:
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
str_con += f'DateTimeStart="{spl[12].strip()}",'
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
str_con += f'DateTimeEnd="{spl[13].strip()}",'
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
str_con += f'DateTimeStart="{spl[12].strip()}",'
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
str_con += f'DateTimeEnd="{spl[13].strip()}",'
if re.match(r'^\w.*', spl[14].strip()):
str_con += f'Var={spl[14].strip()},'
if re.match(r'^\w.*', spl[14].strip()):
str_con += f'Var={spl[14].strip()},'
if recommend_page:
str_con += "Disable=Invisible,"
if recommend_page:
str_con += "Disable=Invisible,"
except Exception:
print("ProductCode = " + spl[4] + " Ignore")
str_con += "$Sum" + str_con_var
@ -1111,6 +1113,9 @@
###############################################################################
if "all" in verbose:
print("sp[2]" + spl[2])
if( len( spl) < 10):
print(list(map(str, spl)))
return
out_xml( '\t; '+ spl[8] + ' ' + spl[9] + ' ' + spl[10]+ ' \r\n')
if spl[8] != '-' or spl[9] != '-' or spl[10] != '-':
menu_img = spl[7]