{FeaturePacks}

#INCLUDE("Tabs")
#IF(#FormError)

{InputError}

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

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#FeaturePacks) #ENDLOOP #BLOCK("WITH_FORM_ERROR",#FormError) #ENDBLOCK #ENDIF
{Alias} {Name} {Shops}
#Alias #Name #ActiveShopCount
#Alias #Name #ActiveShopCount#IF(#ActiveShopCount < #ShopCount) (#CALCULATE(#ShopCount - #ActiveShopCount))#ENDIF
#IF(#DELETE) #ELSE #ENDIF