{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="record-id"}{$rowFields['entityType']}##{$rowFields['idEntityExtSys']}##{$rowFields['idSystem']}##{$rowFields['idEntityTina']}{/block}

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

{block name="listing-td-content-idEntityTina"}
	{if $rowFields['entityType']=='user'}
		{userLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='office'}
		{officeLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='customer'}
		{customerLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='customer_type'}
		{$_LANG['generalData']['personTypes'][$rowFields['idEntityTina']]}
	{elseif $rowFields['entityType']=='customer_title'}
		{$_LANG['generalData']['personTitles'][$rowFields['idEntityTina']]}
	{elseif $rowFields['entityType']=='corporate'}
		{corporateLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='supplier'}
		{supplierLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='supplierProduct'}
		{supplierProductLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='city'}
		{cityLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='station'}
		{stationLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='offerFormOfPayment'}
		{$_LANG['offers']['formOfPayment'][$rowFields['idEntityTina']]}
	{elseif $rowFields['entityType']=='offerFormOfCashing'}
		{$_LANG['offers']['formOfCashing'][$rowFields['idEntityTina']]}
	{elseif $rowFields['entityType']=='serviceCancelReason'}
		{$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='miceProject'}
		{miceProjectLabel ref=$rowFields['idEntityTina']}
	{elseif $rowFields['entityType']=='agencyCostCenter'}
		{\App\Config\AgencyCostCenters::getInstance()->getName($rowFields['idEntityTina'])}
	{else}
		{$rowFields['idEntityTina']}
	{/if}
{/block}
