Hi
We are trying to make a custom receipt template (XML file) for SALES.
If certain conditions are met, we wish to print different messages at the bottom.
Does anyone know if this is possible :
1) Find the length of the Customer Account No. and compare it to a value (e..g 11)
2) Find if the Customer Account starts with a prefix e.g. "01"
3) Compare the Transaction Date to a date range
All the examples we have contain simple conditions like check if an amount is not zero, or if the customer address is present, etc. I cannot find examples of more complex functions e.g. Length, Substring, Date comparison.
Many thanks
*This post is locked for comments