{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="listing-td-content-category"}
	{$lang['category'][$rowFields['category']]}
	<br>{$_LANG['cashBook']['documentTypes'][$rowFields['category']][$rowFields['type']]}
{/block}


{block name="listing-td-content-idUser" append}
	<br>{officeLabel ref=$rowFields['idOffice']}
{/block}


{block name="listing-td-content-value"}
	<span {if $rowFields['category'] == 'payment'} style='color:red;'{/if} >
		{$rowFields['value']|priceFormat:$rowFields['currency']}
	</span>
{/block}

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

{block name="listing-tr-class"}
	{if $rowFields['blockTime']}
		disabled
	{/if}
{/block}
