<!--// $Id$ //-->
{box title="Balance"}
<center>
<h1>{if $userinfo.balance < 0}
	<div style="color: red; white-space: nowrap;"><strong>{moneyf($userinfo.balance)}</strong></div>
    {else}
	<div style="white-space: nowrap;">{moneyf($userinfo.balance)}</div>
    {/if}
</h1>
{if $userinfo.balance < 0}
    {$custom_content}
	{if !ConfigHelper::checkConfig('userpanel.disable_transferform')}
	<a href="?m=finances&amp;f=transferform" target="_blank">
	<span style="color: red;">{trans("Print payment form")}</span>
	</a>
	{/if}
{else}
	{trans("All your covenants are settled")}
{/if}
</center>
{/box}
