#INCLUDE("Toolbar") #IF(#INPUT.PageSize)

{Shops} {Search}

#ELSE

{Shops}

#ENDIF
#INCLUDE("Tabs")
#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.ShopRefAliasExists){DoubleObject}
#ELSIF(#FormErrors.Reason.NoShopAlias){NoShopAlias}
#ELSIF(#FormErrors.Reason.ShopExists){ShopExists}
#ELSIF(#FormErrors.Reason.NoFileForShopType){NoFileForShopType}
#ELSIF(#FormErrors.Reason.NoShopDatabase){NoShopDatabase}
#ELSIF(#FormErrors.Reason.NoShopType){NoShopType}
#ELSIF(#FormErrors.Reason.DatabaseNoFeature) #LOOP(#FormErrors.Errors)#IF(#DEFINED(#Feature)) {DatabaseNoFeature}
#ENDIF#ENDLOOP #ELSIF(#FormErrors.Reason.ImportFeatureLimitExceeded)#LOOP(#FormErrors.Errors){ImportFeatureLimitExceeded}
#ENDLOOP #ELSIF(#FormErrors.Reason.FeaturesNoLicense){FeaturesNoLicense}
#ELSIF(#FormErrors.Reason.FeatureProviderLicense){FeaturesNoLicense}
#LOOP(#FormErrors.Errors)#IF(#Reason EQ "FeatureProviderLicense") {FeaturesNoLicenseExplain}
#ENDIF#ENDLOOP #ELSE {PleaseCorrectErrors}#ENDIF
#ENDIF #IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #IF(#COUNT(#Pager.Items)) #LOOP(#Pager.Items) #ENDLOOP #ELSE #ENDIF #WITH_ERROR(#FormError) #LOCAL("ShopTypeID", #ShopTypeID) #LOCAL("SelectedStoreID", #FUNCTION("ERROR_VALUE", #StoreID, #Provider.DefaultStore.ID)) #ENDWITH_ERROR #ENDIF
{Alias} {ShopType} {Database}
#INCLUDE("Pager")
#IF(#IsDeleted) #ELSIF(#IsClosed) #ELSE #ENDIF #Alias #IF(#DomainName) (#DomainName) #ENDIF #IF(#IsTrialShop) [{IsTrialShop}] #ENDIF #IF(#IsInternalTestShop) [{IsInternalTestShop}] #ENDIF #IF(#IsPreCreated) [{IsPreCreated}] #ENDIF #IF(#MarkedForDelOn) [{MarkedForDeletion}] #ENDIF #ShopType.NameOrAlias #Store.NameOrAlias
#IF(#IsDeleted) #ELSIF(#IsClosed) #ELSE #ENDIF #Alias #IF(#DomainName) (#DomainName) #ENDIF #IF(NOT #IsDeleted) #IF(#IsTrialShop) [{IsTrialShop}] #ENDIF #IF(#IsInternalTestShop) [{IsInternalTestShop}] #ENDIF #IF(#IsPreCreated) [{IsPreCreated}] #ENDIF #IF(#MarkedForDelOn) [{MarkedForDeletion}] #ENDIF #ENDIF #ShopType.NameOrAlias #Store.NameOrAlias
{NoShopsFound}
#IF(#DELETE) #ELSE #ENDIF