{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="listing-tr-extraData"}
	data-idCorporate="{$rowFields['idCorporate']}"
{/block}

{block name="listing-td-content-idContactPerson"}
	{if $rowFields['idContactPerson']}
		{contactPersonLabel ref=$rowFields['idContactPerson']}
	{/if}
{/block}

{block name="listing-td-content-idCorporate"}
	{if $rowFields['idCorporate']}
		{corporateLabel ref=$rowFields['idCorporate']}
	{/if}
{/block}

{block name="listing-td-content-contactType"}
	{$lang['contactType'][$rowFields['contactType']]}
{/block}

{block name="listing-td-content-contactDatetime"}
	{$rowFields['contactDatetime']|dateTimeFormat:'dateWithHM'}

	{if $rowFields['duration']}
		<i>[{$rowFields['duration']|date_format:"%H:%M"}h]</i>
	{/if}
{/block}

{block name="listing-td-content-addTime" append}
	<div>[{corporateContactLabel ref=$rowFields['id']}]</div>
{/block}
