#IF(#IsTest) #WITH(#Shop.Address)

{BillingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#LOCAL("_URL",1)#INCLUDE("CustomerInfo")#ENDLOCAL
#ENDWITH #ELSIF(#BillingAddress) #WITH(#BillingAddress)

{BillingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#LOCAL("_URL",1)#INCLUDE("CustomerInfo")#ENDLOCAL
#ENDWITH #ENDIF #IF(#ShippingAddress) #WITH(#ShippingAddress)

{ShippingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#LOCAL("_URL",1)#INCLUDE("CustomerInfo")#ENDLOCAL
#ENDWITH #ENDIF
{YourOrder}
{OrderNo}: #IF(#IsTest)#NextOrderNo#ELSE#Alias#ENDIF
{CustomerNoShort}: #IF(#IsTest)#NextCustomerNo#ELSE#IF(#Customer.Alias)#Customer.Alias#ENDIF#ENDIF
{OrderDate}: #IF(#IsTest)#Now[date_tz]#ELSE#CreationDate[date_tz]#ENDIF