{config_load file="$language_path_admin/$language.conf" section="general"}
{config_load file="$language_path_admin/$language.conf" section="company_overview_snippet"}

<table border="0" class="main">
<tr class="mainheader">
	<th class="main_header" colspan="2">
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr>
			<td>{$heading_title}</td>
			{if $edit_link}
			<td align="right">{$edit_link}</td>
			{/if}
		</tr>
		</table>
	</th>
</tr>

{if $address.baptismal_name}

{* TAUFNAME - WIRD ZB BEI INVOICE VERWENDET *}

<tr>
	<th class="main">{#baptismal_name#}:</td>
	<td class="main">
	{$address.baptismal_name}
	</td>
</tr>

{/if}

<tr>
	<th class="main">{#name#}</td>
	<td class="main">
	{if $address.name}
	{$address.name}
	{else}
	{$address.firstname} {$address.lastname}
	{/if}
	</td>
</tr>

{if $address.company_code}
<tr>
	<th class="main">{#company_code#}</td>
	<td class="main">{$address.company_code}</td>
</tr>
{/if}

{if $address.cid}
<tr>
	<th class="main">{#company_cid#}</td>
	<td class="main">{$address.cid}</td>
</tr>
{/if}

<tr>
	<th class="main">{#street#}</td>
	<td class="main">{$address.street_address}</td>
</tr>

{if $address.suburb != ''}
<tr>
	<th class="main">{#suburb#}</td>
	<td class="main">{$address.suburb}</td>
</tr>
{/if}
<tr>
	<th class="main">{#city#}</td>
	<td class="main">{$address.postcode} {$address.city}</td>
</tr>
<tr>
	<th class="main">{#country#}</td>
	<td class="main">{get_country_name countries_id=$address.countries_id}</td>
</tr>
{if $address.vat_id}
<tr>
	<th class="main">{#vat_id#}</td>
	<td class="main">{$address.vat_id}</td>
</tr>
{/if}
{if $address.homepage}
<tr>
	<th class="main">{#homepage#}</td>
	<td class="main">{$address.homepage}</td>
</tr>
{/if}
{if $address.email_address}
<tr>
	<th class="main">{#email#}</td>
	<td class="main">{$address.email_address}</td>
</tr>
{/if}
{if $address.telephone}
<tr>
	<th class="main">{#telephone#}</td>
	<td class="main">{$address.telephone}</td>
</tr>
{/if}
{if $address.telefax}
<tr>
	<th class="main">{#fax#}</td>
	<td class="main">{$address.telefax}</td>
</tr>
{/if}
{if $address.date_added}
<tr>
	<th class="main">{#date_added#}</td>
	<td class="main">{$address.date_added|date_format:"$date_format_long"}</td>
</tr>
{/if}
</table>