{PrintView} #IF(#DEFINED(#AcceptedOn))

{AppointmentConfirmation}

#IF(#SEND_MAIL_FAILED)

{Notification}

{SEND_MAIL_FAILED}
#ELSIF(#DEFINED(#Address) AND #Address.EMail AND #Shop.Child.MailTypes.Child.AppointmentAccepted.IsActive)

{AppointmentConfirmationMailSent}

#ENDIF #ELSE

{AppointmentReservation}

#IF(#SEND_MAIL_FAILED)

{Notification}

{SEND_MAIL_FAILED}
#ELSIF(#DEFINED(#Address) AND #Address.EMail AND #Shop.Child.MailTypes.Child.AppointmentAccepted.IsActive)

{AppointmentReservationMailSent}

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

{Notification}

{AcceptWithReservationText} #ENDIF
#ENDIF
{AppointmentData}
{AppointmentID}:#Alias

{StartDate}
#StartDate[datetime]
{EndDate}
#EndDate[datetime]

{CountItems}
#Quantity[float]
#IF(#COUNT(#Services)) #LOOP(#Services)
#Attribute.NameOrAlias
#LOCAL("ServiceID",#ID) #IF(#ID == #ServiceID) #ValueOrAlias #ENDIF #ENDLOCAL
#ENDLOOP #ELSIF(#DEFINED(#ServicesString))
{Options}
#ServicesString
#ENDIF #IF(#DEFINED(#CustomerComment))
{UserComment}
#CustomerComment
#ENDIF
{Address}
#WITH(#Child.Address) #FUNCTION("LocaleInclude","Address") #ENDWITH

{WhatsNext}
{DisplayHomepage}
{BackTo}: #Calendar.Parent.NameOrAlias
#IF(NOT #Session.User.IsAnonymous) {MyAccount}
{Logout} #ENDIF