#LOCAL("AltLanguageID", #INPUT.AltLanguageID) #IF(#INPUT.AltLanguageID AND #INPUT.LanguageID)#IF(#INPUT.AltLanguageID EQ #INPUT.LanguageID)#SET("AltLanguageID", 0)#ENDIF#ENDIF #LOOP(#Shop.Languages) #IF(NOT #AltLanguageID AND #Code2 NE #INPUT.Language) #SET("AltLanguageID", #LanguageID) #ENDIF #ENDLOOP
#IF(#DELETE)

{AcceptAction}

#ENDIF #IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.CanNotDeleteDefault) {CanNotDeleteDefault} #ELSIF(#FormErrors.Reason.DEACTIVATE_DEFAULT) {DeactivateDefault} #ELSIF(#FormErrors.Reason.HIREPURCHASE_NOT_SUPPORTED) {HirepurchaseNotSupported} #ELSIF(#OBJECT_EXISTS) {ObjectExists} #ELSIF(#FormErrors.Reason.SETTINGS_INCOMPLETE) {PaymentSettingsIncomplete} {DoComplete} #ELSIF(#FormErrors.Reason.MaxPriceValueToSmall) {PriceLimitMaxPriceValueToSmall} #ELSE {PleaseCorrectErrors} #ENDIF

#ELSIF(NOT #UsableAtStorefront AND NOT #DELETE)

{Attention}

{PaymentSettingsIncomplete} {DoComplete}

#ENDIF #WITH_ERROR(#FormError) #LOCAL("DisplayFeatureHirePurchase", #FeaturedActionAvailable(#Shop.Object, #UNDEF, "HirePurchase")) #IF(#DisplayFeatureHirePurchase NE "NotVisible") #IF(#PaymentType.IsHirePurchaseSupported) #ELSE #ENDIF #ENDIF #ENDLOCAL
{Alias} *
{Type} #IF(#PaymentType.Name)#PaymentType.Name#ELSE#PaymentType.Alias#ENDIF
{Visible}
{IsDefault}
{HirePurchaseEnabled}
{HirePurchaseEnabled} ({HirepurchaseWrongCalculationModel})

#LOOP(#Shop.MinOrderAmounts) #BLOCK("WITH_FORM_ERROR", #FormError) #ENDLOCAL #ENDBLOCK #ENDLOOP
{AvailibilityRestriction} {MinAmount}  {BubbleHelpMinAmount} #IF(#Shop.FeatureMaxValue.MinOrderAmount)

{HelpMinOrderAmount}
{SetMinOrderAmount} #ENDIF
{MaxAmount}  {BubbleHelpMaxAmount}
#LOCAL("MinPriceValue", #FUNCTION("PRICELIMIT","MinPriceValue", #Object, #CurrencyID)) #Symbol #IF( #DEFINED(#MinPriceValue) AND #MinPriceValue NLT #Value AND NOT #FormErrors.Reason.MinPriceValueNeg)
{WarningMinOrderAmount} #ENDIF
#LOCAL("MaxPriceValue", #FUNCTION("PRICELIMIT","MaxPriceValue", #Object, #CurrencyID)) #Symbol #ENDLOCAL


#LOOP(#Shop.Languages) #IF(#INPUT.Language EQ #Code2)#Native #ENDIF #ENDLOOP
#IF(#AltLanguageID) #ENDIF
{Translation}
{NameInShop}
#IF(#AltLanguageID)#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1)

#ENDLOCAL#ENDWITH_LANGUAGE#ENDIF
#SNIPPET("INC-WYSIWYG", "Name,InputName,Value,Head", "NoteNative", "Note", #Note, "{Remark}") #IF(#AltLanguageID)#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1) #SNIPPET("INC-WYSIWYG", "Name,InputName,Value,TranslationHead", "NoteTranslation", "Note", #Note, "{Remark}") #ENDLOCAL#ENDWITH_LANGUAGE#ENDIF

{ShowLogo} 
#IF(#DELETE) #ELSE #IF(#Session.User.DeleteConfirmation) #ELSE #ENDIF #ENDIF
#IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0 AND NOT #DELETE)

{RelatedTopics}

#ENDIF #ENDWITH_ERROR
#ENDLOCAL