<!-- content_customer_center/payment_data.tpl -->
<div class="full_box">
	<div class="title_wrapper">
		<div class="title" style="width:590px;"><h2>Kontodaten</h2></div>
		<a class="icon" href="#edit_payment_data_form" style="width:115px;background-image:url({$PARENT_THEME_DIR}/media/images/edit_icon.png);"><span>Daten &auml;ndern</span></a>
		<div class="clear"></div>
	</div>

	<div class="box_content">
		<div class="box_padder">
			<form target="{$this_url}" method="post" id="edit_payment_data_form" class="formated_form">
				
				<input type="hidden" name="action" value="edit_payment_data" />
				
				<div class="line first">
					<div class="half">
						<label for="account_holder">Kontoinhaber</label><br />
						<input type="text" class="half" name="account_holder" value="{$customer->account_holder}"/><br />
					</div>
				
					<div class="last half">
						<label for="account_number">Kontonummer</label><br />
						<input type="text" class="half" name="account_number" value="{$customer->account_number}" /><br />
					</div>
				</div>
				
				<div class="line">
					<div class="half">
						<label for="bank">Bank</label><br />
						<input type="text" class="half" name="bank" value="{$customer->bank}" /><br />
					</div>
				
					<div class="last half">
						<label for="bank_number">Bankleitzahl</label><br />
						<input type="text" class="half" name="bank_number" value="{$customer->bank_number}" /><br />
					</div>
				</div>
				
				<div class="line">
					<div class="half">
						<label for="iban">iban</label><br />
						<input type="text" class="half" name="iban" value="{$customer->iban}" /><br />
					</div>
				
					<div class="last half">
						<label for="swift_bic">swift bic</label><br />
						<input type="text" class="half" name="swift_bic" value="{$customer->swift_bic}" /><br />
					</div>
				</div>
				
				<!-- block: submit -->
				<div class="line">
					<span class="target"></span>
					<input type="submit" value="Speichern" class="button" style="width:125px;margin-left:350px;" />
				</div>
				<!-- end block: submit -->
			</form>
			
			<div class="address">
				<div>Kontoinhaber:<span>{if $customer->account_holder}{$customer->account_holder}{else}Keine Angaben{/if}</span></div>
				<div>Kontonummer:<span>{if $customer->account_number}{$customer->account_number}{else}Keine Angaben{/if}</span></div>
				<div>Bankleitzahl:<span>{if $customer->bank_number}{$customer->bank_number}{else}Keine Angaben{/if}</span></div>
				<div>Bankinstitut:<span>{if $customer->bank}{$customer->bank}{else}Keine Angaben{/if}</span></div>
			</div>
			
			<div class="address">
				<div>IBAN:<span>{if $customer->iban}{$customer->iban}{else}Keine Angaben{/if}</span></div>
				<div>SWIFT-BIC:<span>{if $customer->swift_bic}{$customer->swift_bic}{else}Keine Angaben{/if}</span></div>
			</div>
			
			<div class="clear"></div>
		</div>
	</div>
</div>
