#IF(#MailType.Header)

#MailType.Header[0]

#ENDIF

{Hello} #Address.FullName,

{AcceptedSentence}

#IF(#DEFINED(#AcceptedOn))

{AppointmentConfirmation}

#ELSE #IF(#Shop.AcceptWithReservationText) #Shop.AcceptWithReservationText[0]
#ELSE

{Notification}

{AcceptWithReservationText}

#ENDIF #ENDIF #IF(#DEFINED(#Parent.Parent.Description[0])) #ENDIF #IF(#COUNT(#Services)) #LOOP(#Services) #ENDLOOP #ELSIF(#DEFINED(#ServicesString))
#ServicesString
#ENDIF #IF(#CustomerComment) #ENDIF
{AppointmentID}: #IF(#User AND NOT #User.IsAnonymous)#Alias#ELSE#Alias#ENDIF
{Date}: #StartDate[date:full]  #StartDate[time] - #IF(#FUNCTION("YMD",#StartDate) EQ #FUNCTION("YMD",#EndDate))#EndDate[time]#ELSE#EndDate[date:full]  #EndDate[time]#ENDIF
{Product}: #Parent.Parent.NameOrAlias
{Description}: #Parent.Parent.Description[0]
{Quantity}: #Quantity
{BookedOn}: #CreationDate[datetime]
#Attribute.NameOrAlias #LOCAL("ServiceID",#ID) #IF(#ID == #ServiceID) #ValueOrAlias #ENDIF #ENDLOCAL
{Options}
{Remark}: #CustomerComment
#IF(#Address)#WITH(#Address)

{Address}

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

#ENDWITH#ENDIF
#IF(#MailType.AdditionalText)

#MailType.AdditionalText[0]

#ENDIF

{AdditionalInfo}
{CancelAppointmentInfo} {CancelAppointment}