#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #IF(#MAIL_SENT)

{AppointmentSendOk}


#ELSIF(#FormError)

{InputError}

{PleaseCorrectErrors}
#ELSIF(#DELETE)

{AcceptAction}

{CancelInfo1}

  1. {CancelInfo2}
  2. {CancelInfo3}
  3. {CancelInfo4}

#LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#CANCEL_APPOINTMENT)

{AcceptActionCancelAppointments}


#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #IF (NOT #CANCEL_APPOINTMENT) #INCLUDE("INC-PagerHeader") #ENDIF #IF(#DELETE) #ELSE #IF(#Pager.OrderBy NE "StartDate") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "NameOrAlias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "CreationDate") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #IF(#DELETE OR #CANCEL_APPOINTMENT) #LOOP(#DeleteObjects) #ENDLOOP #ELSIF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #ENDLOOP #ENDIF
{Date} {Created} {Contact} {Resource}{Appointment}{Appointment}{Appointment}{Status} {Contact}{Resource}{Resource}{Resource}{Created}{Created}{Created}
#IF(NOT #DELETE)#INCLUDE("Pager")#ENDIF
#StartDate[date_tz:full] #StartDate[time_tz] - #IF(#FUNCTION("YMD",#StartDate) EQ #FUNCTION("YMD",#EndDate))#EndDate[time_tz]#ELSE#EndDate[datetime]#ENDIF #IF(#CancelledOn){CancelledOn}#ELSIF(#AcceptedOn){AcceptedOn}#ELSE {Unconfirmed}#ENDIF #WITH(#Address)#Company #Title #FirstName #MiddleName #LastName #EMail #Phone#ENDWITH #Calendar.Parent.NameOrAlias #CreationDate[date_tz]
{NoAppointmentsFound}
#StartDate[date_tz:short] #StartDate[time_tz] - #IF(#FUNCTION("YMD",#StartDate) EQ #FUNCTION("YMD",#EndDate))#EndDate[time_tz]#ELSE#EndDate[datetime]#ENDIF #IF(#DEFINED(#Comment) OR #DEFINED(#CustomerComment))
#IF(#DEFINED(#CustomerComment))

{UserComment}

#CustomerComment[preline]

#ENDIF #IF(#DEFINED(#Comment))

{Comment}

#Comment[preline]

#ENDIF
#ENDIF
#IF(#CancelledOn){CancelledOn}#ELSIF(#AcceptedOn){AcceptedOn}#ELSE {Unconfirmed}#ENDIF #IF(#CustomerOrder)#WITH(#CustomerOrder) #Alias #IF(#DEFINED(#PaidOn)){Paid}#ENDIF #ENDWITH#ENDIF #WITH(#Address)#Company #Title #FirstName #MiddleName #LastName #IF(#DEFINED(#EMail))#EMail#ENDIF #Phone #LocaleInclude("Address", #Address.Country.Code2)

#ENDWITH
#WITH(#Calendar.Parent) #NameOrAlias#INCLUDE("ProductAdditionalListInfo")#IF(#IsNew OR #DefaultSubProduct.IsNew)[{New}]#ENDIF#ENDWITH #CreationDate[date_tz]
#IF(#DELETE) #ELSIF(#CANCEL_APPOINTMENT) #ELSIF(#Pager.CountOfItems) #ENDIF