{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

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

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

{block name="listing-td-content-docType"}
	{if $rowFields['docType'] != '*'}
		{\App\Config\CashingDocuments::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-clientType"}
	{if $rowFields['clientType'] != '*'}
		{$lang['list']['clientTypes'][$rowFields['clientType']]}
	{else}
		{$rowFields['clientType']}
	{/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('cashings', $rowFields['field'])}
{/block}

