{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}
{block name="listing-tr-extraData" append}data-type="{$rowFields['type']}"
	{if $rowFields['type'] == 'service'}
		data-name="{$rowFields['serviceName']}"
	{else}
		data-name="{$rowFields['groupName']}"
	{/if}

{/block}

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

{block name="record-id"}{if $rowFields['serviceType']}{$rowFields['serviceType']}{else}{$rowFields['groupCode']}{/if}{/block}


{block name="listing-td-content-group"}
	{if $rowFields['groupCode']}
		{$rowFields['groupName']} ({$rowFields['groupCode']})
	{/if}
{/block}

{block name="listing-td-content-services"}
	{if $rowFields['serviceType']}
		{$rowFields['serviceName']} (<i>{$rowFields['serviceType']}</i>)
	{else}
		<ins class="undefined"></ins>
	{/if}
{/block}