{config_load file="$language_path_admin/$language.conf" section="general"}
{config_load file="$language_path_admin/$language.conf" section="invoices"}
	<table border="0" cellspacing="0" width="100%" cellpadding="4">
	<tr class="mainheader">
		<td>
			<table border="0" cellspacing="0" width="100%">
			<tr>
				<td class="main"><b>{#choose_address#}</b></td>
				<td class="main" align="right"><a class="lbAction" rel="deactivate" title="{$BUTTON_CLOSE}"><img src="images/cal_close_small.gif" border="0" title="{$BUTTON_CLOSE}"/></a></td>
			</tr>
			</table>
		</td>
	</tr><tr>
		<td class="main"><b>{#import_number#}</b> {$import_number}</td>
	</tr><tr>
		<td class="main">{#ships_in_import#}</td>
	</tr>
	<tr>
		<td class="main">
			{$form}
			<table border="0">
			<tr>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;">&nbsp;</td>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;"><b>{#ship#}</b></td>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;"><b>{#address#}</b></td>
			</tr>

	{foreach from=$ships item=ship}
			<tr>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;"><input type="radio" name="invoice_company_id" value="{$ship.invoice_company_id}" /></td>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;">{$ship.ship_link}:</td>
				<td class="main" valign="top" style="border-bottom: 1px solid #000;">{$ship.address_data.name}, {$ship.address_data.postcode} {$ship.address_data.city}, {get_country_name countries_id=$ship.address_data.countries_id}</td>
			</tr>
	{foreachelse}
			<tr>
				<td class="main" colspan="3">
				<i>{#no_ships_saved#}</i>
				</td>
			</tr>
	{/foreach}
			<tr>
				<td class="main" colspan="3">
				<input type="submit" class="iButton" value="{#save#}" />
				</td>
			</tr>
			</form>
			</table>				
		</td>
	</tr>
	</table>
