{config_load file="$language_path_admin/$language.conf" section="general"}
{config_load file="$language_path_admin/$language.conf" section="invoice_overview_snippet"}
<table border="0" class="main" width="1000">

<tr class="mainheader">
	<th class="main">{#invoice_ship_costs#}</td>
</tr>
<tr>
	<td class="main">
		<table width="100%" cellspacing="0">
		{foreach from=$invoice.import_ship_costs item=import_ship_cost}
		<tr>
			<td class="main">{$import_ship_cost.costs_text} ({#ship#}: {$import_ship_cost.ship_name})</td>
			<td class="main" align="right" width="150">{$import_ship_cost.costs|string_format:"%.2f"} {$invoice.currency}</td>
			<td class="main" align="right" width="50">{$import_ship_cost.edit_link}&nbsp;{$import_ship_cost.delete_link}</td>
		</tr>
		{foreachelse}
		<tr>
			<td class="main" colspan="3"><i>{#no_invoice_ship_costs_saved#}</i></td>
		</tr>
		{/foreach}
		<tr>
			<td class="main" align="right" colspan="2" style="border-top: 1px solid #000;"><b>{$invoice.import_ship_costs_total|string_format:"%.2f"} {$invoice.currency}</b></td>
			<td style="border-top: 1px solid #000;">&nbsp;</td>
		</tr>
		</table>
		{if $invoice.add_import_ship_costs_link}

		<br />
		{$invoice.add_import_ship_costs_link}
		
		{/if}
	</td>

</table>
<br />