#IF(#TaxChanged AND NOT #Shop.VATreleased)

{Notification}

{TaxChanged}


#ENDIF #LOCAL("IsCustomerFromEUCountry",1) #LOCAL("ExistsVATID",0) #IF(#ShippingAddress) #SET("IsCustomerFromEUCountry",#ShippingAddress.Country.IsEU) #ELSE #IF(#BillingAddress) #SET("IsCustomerFromEUCountry",#BillingAddress.Country.IsEU) #ENDIF #ENDIF #IF(#DEFINED(#ShippingAddress.VATID)) #SET("ExistsVATID",1) #ELSE #IF(#DEFINED(#BillingAddress.VATID)) #SET("ExistsVATID",1) #ENDIF #ENDIF #IF(#Session.TaxModelChanged)

{Notification}

#IF(#IsCustomerFromEUCountry AND #ExistsVATID )

{TaxModelChanged}

#ELSE

{TaxChanged}

#ENDIF

#ENDIF #ENDLOCAL #ENDLOCAL #LOCAL("ShowLine",0) #IF(#Shop.AcceptTac)
#REM#ENDREM
#SET("ShowLine",1) #ELSE #ENDIF #IF(#TacAgain)

{Notification}

{TacAgain}

#ENDIF #IF(#Shop.IsRatingInvitationAcceptanceRequired AND NOT #Customer.IsRatingInvitationAllowed) #LOCAL("DisplayRatingInvitationAcceptance","0") #MENU("SetDisplayRatingInvitation") #INCLUDE(#Template) #ENDMENU #IF(#DisplayRatingInvitationAcceptance)
#SET("ShowLine",1) #ENDIF #ENDLOCAL #ENDIF #IF(#ShowLine)
#ENDIF #ENDLOCAL #IF(#BillingAddress)#WITH(#BillingAddress) #ENDWITH#ENDIF #IF(#ShippingAddress) #WITH(#ShippingAddress) #ENDWITH #ENDIF

{BillingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#INCLUDE("CustomerInfo")

{ShippingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#INCLUDE("CustomerInfo")

#INCLUDE("INC-OrderInformationTable") #BLOCK("MENU", "OfferForm") #INCLUDE(#Template) #ENDBLOCK
#REM #ENDREM #LOCAL("ButtonName","{OrderNow}") #IF(#LineItemContainer.GrandTotal > 0) #IF( (#ShippingAddress AND #ShippingAddress.Country.Code2 EQ "DE") OR (#BillingAddress AND #BillingAddress.Country.Code2 EQ "DE") ) #SET("ButtonName","{Buy}") #ELSIF(#Shop.Address.Country.Code2 EQ "DE") #SET("ButtonName","{Buy}") #ELSIF(#Language EQ "de") #SET("ButtonName","{Buy}") #ENDIF #ENDIF #ENDLOCAL
#IF(#CustomerComment)
{CustomerComment}:
#CustomerComment[preline]
#ENDIF #IF(#Shop.BasketBelowText)
#Shop.BasketBelowText[0] #ENDIF #IF(#Shop.AcceptTac)
{MandatoryFields}
#ENDIF