#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #LOCAL("UnspecifiedError",0) #IF(#FormError)
#IF(#COUNT(#FormErrors.Form.ListedObjects.Errors))

{Notification}

#LOOP(#FormErrors.Form.ListedObjects.Errors) #Reason #ENDLOOP #ELSIF(#COUNT(#FormErrors.Form.NewProduct.Errors)) #LOOP(#FormErrors.Form.NewProduct.Errors) #IF(#Reason EQ "ObjectExists")

{InputError}

{ObjectExists} #ELSIF(#Reason EQ "FLOAT_TOO_LARGE")

{InputError}

{MaxStockLevelAppointment} #ELSIF(#Reason EQ "NoName") #SET("UnspecifiedError",1) #ELSE #SET("UnspecifiedError",1) #ENDIF #ENDLOOP #ELSE #SET("UnspecifiedError",1) #ENDIF #IF(#UnspecifiedError)

{InputError}

{PleaseCorrectErrors} #ENDIF
#ENDIF #ENDLOCAL #IF(#DEFINED(#INPUT.WizardFinished))
{ResourceCreated}
#IF(#DEFINED(#INPUT.WizardNewResource)) #LOOP(#GREP(#ChildObjects, "ID", #INPUT.WizardNewResource))
{WhatsNext}
#ENDLOOP #ENDIF
#ENDIF #IF(NOT #DEFINED(#Shop.Child.BusinessHours))

{Notification}

{EnterAppointmentSettings}

{EditSettings}
#ELSIF(NOT #COUNT(#Pager.Items))

{Notification}

{NoResourcesAvailable}

#ENDIF #IF(#DELETE)

{AcceptAction}

{AcceptActionInfo}

#LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#FeatureMaxValueReached)

{Notification}

{NotAllAppointmentsCloned}
{FeatureMaxValue} #Shop.FeatureMaxValue.Appointments #INCLUDE("FeaturePromotion")
#ELSIF(#Shop.FeatureCurrentValue.Appointments NGE #Shop.FeatureMaxValue.Appointments)

{Notification}

{MaxFeatureValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.Appointments #INCLUDE("FeaturePromotion")
#ENDIF #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #INCLUDE("INC-PagerHeader") #IF(#DELETE) #ELSE #IF(#Pager.OrderBy NE "NameOrAlias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "ListPrice") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "StockLevel") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #LOCAL("CurrencyID",#Shop.CurrencyID) #IF(#DELETE) #LOOP(#DeleteObjects) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #ENDLOCAL #ENDLOOP #ELSE #LOOP(#Pager.Items) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #ENDLOCAL #ENDLOOP #ENDIF #ENDLOCAL #IF(NOT #DELETE)#LOCAL("NoNewEntry", #Shop.FeatureCurrentValue.Appointments == #Shop.FeatureMaxValue.Appointments) #ENDLOCAL#ENDIF
{Resource} {ListPrice} {Quantity}{Resource}{Resource}{Resource}{ListPrice}{ListPrice}{ListPrice}{Quantity}{Quantity}{Quantity}
#IF(NOT #DELETE)#INCLUDE("Pager")#ENDIF
#NameOrAlias #ListPrice[money] #IF(#DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE  #ENDIF#ENDIF
#NameOrAlias #INCLUDE("ProductAdditionalListInfo") #IF(#IsNew OR #DefaultSubProduct.IsNew) #ENDIF
#ListPrice[money] #IF(#DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE  #ENDIF#ENDIF
#IF(NOT #DELETE) #ELSE #ENDIF
#IF(NOT #Shop.Child.BusinessHours.HasBookingPeriods)

{Notification}

{NoBusinessHoursAvailable}

{EditBusinessHours}
#ENDIF