{* taxes managment *}
{if $define_zone_rates} <<{$smarty.const.ADMIN_BACK_TO_TAX_CLASS_LIST}

{$smarty.const.ADMIN_DEFINE_COUNTRY_RATE}: {$className}

{if $error_percent == 1} {$smarty.const.ERROR_RATE_PERCENT_RANGE}

{/if} {section name=i loop=$zone_rates} {if $smarty.section.i.index == 0} {/if} {/section} {if $zone_count != 0} {if $zone_rate_count == 0} {/if} {/if} {section name=i loop=$zip_rates} {/section}
{$country_name} {$smarty.const.ADMIN_ZONE_NAME} {$smarty.const.ADMIN_RATE}  

<<{$smarty.const.ADMIN_BACK_TO_TAX_COUNTRY_LIST}

{if $zone_rates[i].zoneID != 0} {$zone_rates[i].zone_name} {else} {if $zone_count == 0 && $zone_rate_count - 1 == 0} {$smarty.const.ADMIN_ALL_ZONES} {/if} {if $zone_count == 0 && $zone_rate_count - 1 != 0} {$smarty.const.ADMIN_ALL_REST_ZONES} {/if} {if $zone_count != 0 && $zone_rate_count - 1 != 0} {$smarty.const.ADMIN_REST_ZONES} {/if} {if $zone_count != 0 && $zone_rate_count - 1 == 0} {$smarty.const.ADMIN_ALL_REST_ZONES} {/if} {/if} % {$smarty.const.DELETE_BUTTON}
{$smarty.const.ADD_BUTTON}
{$country_name}

<<{$smarty.const.ADMIN_BACK_TO_TAX_COUNTRY_LIST}

{$smarty.const.ADMIN_RATE}:%  




{$smarty.const.STRING_ZIP_RATE_PROMPT}

{$smarty.const.STRING_ZIP_RATE_PROMPT2}

{$smarty.const.STRING_ZIP} {$smarty.const.ADMIN_DEFINE_RATE}  
% {$smarty.const.DELETE_BUTTON}
{$smarty.const.ADD_BUTTON}
%  
{/if} {if $define_rate} <<{$smarty.const.ADMIN_BACK_TO_TAX_CLASS_LIST}

{$smarty.const.ADMIN_DEFINE_COUNTRY_RATE}: {$class_name}

{if $error_percent == 1} {$smarty.const.ERROR_RATE_PERCENT_RANGE}

{/if} {section name=i loop=$rates} {/section} {if $country_count != 0} {/if}
{$smarty.const.ADMIN_COUNTRY_NAME} {$smarty.const.ADMIN_DEFINE_RATE}  
{if $rates[i].countryID != 0} {$rates[i].country} {else} {if $country_count == 0 && $rate_count - 1 == 0} {$smarty.const.ADMIN_ALL_COUNTRIES} {/if} {if $country_count == 0 && $rate_count - 1 != 0} {$smarty.const.ADMIN_ALL_REST_COUNTRIES} {/if} {if $country_count != 0 && $rate_count - 1 != 0} {$smarty.const.ADMIN_ALL_REST_COUNTRIES} {/if} {if $country_count != 0 && $rate_count - 1 == 0} {$smarty.const.ADMIN_ALL_REST_COUNTRIES} {/if} {/if} {if $rates[i].countryID != 0} {if $count_zones[i] != 0} {/if}
{if $count_zones[i] != 0} {/if} {$smarty.const.ADMIN_OVERALL_RATE}   %
{$admin_is_depended_on_zone[i]}
{$smarty.const.ADMIN_SET_RATE_BY_ZONE}...
{else} {$smarty.const.ADMIN_OVERALL_RATE} % {/if}
{$smarty.const.DELETE_BUTTON}
{$smarty.const.ADD_BUTTON}
{$smarty.const.ADMIN_RATE}:%  
{/if} {if !$define_zone_rates && !$define_rate} {section name=i loop=$classes} {/section}
{$smarty.const.ADMIN_CLASS_NAME} {$smarty.const.ADMIN_TAX_BASED_ON_ADDRESS} {$smarty.const.ADMIN_DEFINE_RATE}  
{$smarty.const.ADMIN_DEFINE_COUNTRY_RATE} {$samrty.const.DELETE_BUTTON}
{$smarty.const.ADD_BUTTON}:
   
{/if} {if !$define_zone_rates}
{/if}