{* $Id: rates.tpl 1503 2006-03-31 07:53:23Z zeke $ *} {capture name="mainbox"}
{if $shipping.rate_calculation == 'M'}
{$lang.show_rate_for_destination}:  

{/if} {include file="common_templates/subheader.tpl" title=$lang.cost_dependences}
{foreach from=$rate_data.rate_value.C item="rate" key="k" name="rdf"} {/foreach}
{$lang.more_than} {$currencies.$primary_currency.symbol} {if $smarty.foreach.rdf.first} 0 {else} {/if}  
  {$lang.more_than} {$currencies.$primary_currency.symbol}  {include file="buttons/multiple_buttons.tpl" item_id="upd_rate_celm"}


{include file="common_templates/subheader.tpl" title=$lang.weight_dependences}
{foreach from=$rate_data.rate_value.W item="rate" key="k" name="rdf"} {/foreach}
{$lang.more_than} {if $smarty.foreach.rdf.first} 0 {else} {/if} {$settings.General.weight_symbol}  
  {$lang.more_than}  {$settings.General.weight_symbol} {include file="buttons/multiple_buttons.tpl" item_id="upd_rate_welm"}


{include file="common_templates/subheader.tpl" title=$lang.items_dependences}
{foreach from=$rate_data.rate_value.I item="rate" key="k" name="rdf"} {/foreach}
{$lang.more_than} {if $smarty.foreach.rdf.first} 0 {else} {/if} {$lang.items}  
  {$lang.more_than}  {$lang.items} {include file="buttons/multiple_buttons.tpl" item_id="upd_rate_ielm"}
 

{if 'manage_shipping'|fn_check_privileges:true}
{include file="buttons/update.tpl" but_onclick="javascript:document.rates_form.submit();"}     {include file="buttons/delete_selected.tpl" but_onclick="javascript: fn_delete_selected('rates_form','delete_rate_values','','delete_checkbox','',false);"}
{/if}
{/capture} {include file="common_templates/mainbox.tpl" title=$lang.shipping_charges content=$smarty.capture.mainbox}