#LOCAL("RegionNumber", 0)
#LOOP(#Shop.ShopCountries)
#LOCAL("BaseCountryID", #CountryID)
#LOCAL("TaxCount", #COUNT(#FUNCTION("ZipcodesForCountry", #TaxMatrix.Object, #CountryID)))
#Native #IF(NOT (#English EQ #Native))(#English)#ENDIF #IF(#TaxCount > 0){ShowExemptions} (#TaxCount)#ENDIF
|
#LOCAL("TaxArea", #FUNCTION("TaxAreaByCountryID", #TaxMatrix.Object, #CountryID))
#TaxArea.NameOrAlias
#ENDLOCAL
|
#LOCAL("RowCount", 0)
#LOOP(#FUNCTION("ZipcodesForCountry", #TaxMatrix.Object, #CountryID))
#SET("ErrorItemNo", #RegionNumber)
#SET("RegionNumber", #RegionNumber+1)
#SET("RowCount", #RowCount+1)
#RegionName
{Zipcode}: #ZipcodeFrom -
#ZipcodeTo
|
#TaxArea.NameOrAlias
|
#ENDLOOP
#ENDLOCAL
|
#ENDLOCAL
#ENDLOCAL
#ENDLOOP
|
{FallbackTaxArea}
|
#LOOP(#TaxMatrix.TaxAreas)
#IF(#IsFallback)#NameOrAlias#ENDIF
#ENDLOOP
|
#ENDLOCAL