#LOCAL("CountOfActiveFeaturePacks",0) #LOOP(#ShopType.FeaturePacks) #IF(#IsActive)#SET("CountOfActiveFeaturePacks",#CountOfActiveFeaturePacks +1)#ENDIF #ENDLOOP #IF(#IsDeleted)

{Information}

{ShopIsDeleted}
#ENDIF #IF(NOT #CountOfActiveFeaturePacks)

{Notification}

{NoAddFeaturePacks}

#ENDIF #IF(#FormError)

{InputError}

#IF(#OBJECT_EXISTS) {DoubleObject} #ELSIF(#FormErrors.Reason.FeaturePack_AllowMax) {FeaturePack_AllowMax} #ELSE {PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#FeatureCollections)#IF(#IsActive AND #FeatureCollection.Class.Alias EQ "FeaturePack") #ENDIF#ENDLOOP #IF(NOT #IsDeleted) #ENDIF #ENDIF
{FeaturePack} {ApplyDate}
#IF(#IsActive) #ELSE #ENDIF #FeatureCollection.NameOrAlias #CreationDate[datetime]
#FeatureCollection.NameOrAlias #CreationDate[datetime]
#IF(NOT #IsDeleted) #IF(#DELETE) #ELSE #ENDIF #ENDIF
#ENDLOCAL