<td colspan=12>
Przeterminowane transakcje za okres {$okres}
<img src="modules/EcmQuotes/images/deleterow.gif" style="cursor: pointer;" onclick="hideDetails('details_{$ID}')"/>
<table style="width: 100%">
<tr>
	<td>
	Winien
	</td>
	<td>
	Ma
	</td>
</tr>
<tr>
<td style="width:50%">
<table style="width: 100%">
{foreach from=$ma item=r}

	<tr>
		<td align="center">
			<a target="_blank" href="index.php?module=EcmTransactions&action=DetailView&record={$r.id}">{$r.name}</a>
		</td>
		<td align="right">
			{$r.value|number_format:2:",":"."}
		</td>
			{if $r.parent_2_id!=""}
		<td align="left" colspan=4>
			<a target="_blank" href="index.php?module=Accounts&action=DetailView&record={$r.parent_2_id}">{$r.parent_2_name}</a>
		</td>
	{else}<td></td>
	{/if}
	</tr>


{/foreach}
	</table>
</td>
<td style="width:50%">
<table style="width: 100%">
{foreach from=$winien item=r}

	<tr>
		<td align="center">
			<a target="_blank" href="index.php?module=EcmTransactions&action=DetailView&record={$r.id}">{$r.name}</a>
		</td>
		<td align="right">
			{$r.value|number_format:2:",":"."}
		</td>
	</tr>

{/foreach}
	</table>
</td>
</tr>
</table>
</td>