{CreditCheck} #NameOrAlias {Registration}

#INCLUDE("Tabs")
#WITH_ERROR(#FormError)
#IF(#FormError)
#IF(#FormErrors.Reason.RegisterFailed)

{RegistrationFailed}

{TryAgainLater}

#ELSE

{InputError}

{PleaseCorrectErrors}

#ENDIF
#ENDIF #LOCAL("ShopAddress", #Shop.Address)
{RegisterDataInfo}
{Salutation}{MandatoryStar}
{FirstName}{MandatoryStar}
{LastName}{MandatoryStar}
{Company}{MandatoryStar}
{LegalForm}{MandatoryStar}
{Street}{MandatoryStar}
{Zipcode}/{City}{MandatoryStar}
{Country}{MandatoryStar} #LOCAL("ErrorCountryCode", "") #IF(#FormError) #SET("ErrorCountryCode", #country) #ELSIF (#DEFINED(#ShopAddress AND #DEFINED(#ShopAddress.Country))) #SET("ErrorCountryCode", #ShopAddress.Country.Code2) #ENDIF #ENDLOCAL
{Phone}{MandatoryStar}
{Fax}
{EMail}{MandatoryStar}
{URL}
{EstimatedClaims}{MandatoryStar}
{Voucher}{MandatoryStar}

{CustomerID} {FillIfAlreadyCustomer}

#ENDLOCAL
#ENDWITH_ERROR