<!-- content_cash_desk/address_shipping.tpl -->
<div class="full_box">
	<div class="title_wrapper">
		<div class="title"><h2>Lieferanschrift</h2></div>
		<div class="clear"></div>
	</div>

	<div class="box_content">
		<div id="shipping_address_container" class="box_padder">
			<select class="formatted" id="shipping_address_select" name="shipping[address]" size="1">
				<option value="">Lieferanschrift w&auml;hlen</option>
				<option value="" style="font-weight:bold;color:#990000;">Neue Adresse anlegen</option>
				{foreach from=$addresses key=address_id item=address}
					<option value="{$address_id}" {if $customer->default_address == $address_id || $personal_data.shipping.address == $address_id}selected="selected"{/if}>{$address->firstname} {$address->surname}, {if $address->company}{$address->company}, {/if}{$address->city}</option>
				{/foreach}
			</select>
			<br /><br />
			
			<div style="width:213px;float:left;">
				<select class="formatted obligatory" name="shipping[honorific]" title="">
					<option value="">Anrede</option>
					<option value="0">Herr</option>
					<option value="1">Frau</option>
					<option value="2">Firma</option>
				</select>
			</div>
			
			<div style="width:213px;margin-left:20px;float:left;">
				<input class="formatted obligatory" name="shipping[firstname]" value="Vorname" title="Vorname" />
			</div>
			
			<div style="width:213px;margin-left:20px;float:left;">
				<input class="formatted obligatory" name="shipping[surname]" value="Nachname" title="Nachname" />
			</div>
			<br style="clear:left;" />
			<br />
			
			<div style="width:680px;float:left;">
				<input class="formatted" name="shipping[company]" value="Firma" title="Firma" />
			</div>
			<br style="clear:left;" />
			<br />
			
			<div style="width:446px;float:left;">
				<input class="formatted obligatory" name="shipping[street]" value="Straße" title="Straße" />
			</div>
			
			<div style="width:213px;margin-left:20px;float:left;">
				<input class="formatted obligatory" name="shipping[house_number]" value="Hausnummer" title="Hausnummer" />
			</div>
			<br style="clear:left;" />
			<br />
			
			<div style="width:213px;float:left;">
				<input class="formatted obligatory" name="shipping[zip_code]" value="PLZ" title="PLZ" />
			</div>
			
			<div style="width:213px;margin-left:20px;float:left;">
				<input class="formatted obligatory" name="shipping[city]" value="Ort" title="Ort" />
			</div>
			
			<div style="width:213px;margin-left:20px;float:left;">
				<select class="formatted obligatory" name="shipping[country]" title="">
					<option value="">Land</option>
					{foreach from=$countries item=country}
						<option value="{$country->id}">{$country->name}</option>
					{/foreach}
				</select>
			</div>
			<br style="clear:left;" />
			<br />

			<div id="shipping_save_message" style="float:left;font-weight:bold;"></div>
			<div style="float:right;">
				<input id="cashdesk_button_save_shipping" type="button" class="button" value="&gt;&gt; Daten speichern" />
			</div>
			<br style="clear:both;" />
		</div>
	</div>
</div>
