{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="record-id"}{$rowFields['docType']}##{$rowFields['idOffice']}##{$rowFields['idBankAccount']}##{$rowFields['currency']}##{$rowFields['field']}{/block}

{block name="listing-tr-class"}
	{if !\App\Config\ExportData_Fields::getInstance()->getFieldActive('payments', $rowFields['field'])}
		disabled
	{/if}
{/block}

{block name="listing-td-content-docType"}
	{if $rowFields['docType'] != '*'}
		{\App\Config\PaymentDocuments::getInstance()->getName($rowFields['docType'])}
	{else}
		{$rowFields['docType']}
	{/if}
{/block}

{block name="listing-td-content-idOffice"}
	{if $rowFields['idOffice'] != '*'}
		{officeLabel ref=$rowFields['idOffice']}
	{else}
		{$rowFields['idOffice']}
	{/if}
{/block}

{block name="listing-td-content-idBankAccount"}	
	{if $rowFields['idBankAccount'] != '*'}
		{bankAccountLabel ref=$rowFields['idBankAccount']}
	{else}
		{$rowFields['idBankAccount']}
	{/if}
	
{/block}

{block name="listing-td-content-field"}
	{\App\Config\ExportData_Fields::getInstance()->getFieldName('payments', $rowFields['field'])}
{/block}

