{showMessage}

{if $invoicesList}
	{include file="clientInvoicesList_list.tpl"}
{/if}

{if $pages.countResults}
	{pageControls pagesData=$pages method="get"}
{/if}


<script language="javascript">

	{* -- if no results found - hide filters -- *}
	{if $openAndCloseFilterOnResults and $expandFilters}
		setTimeout('$(\'clientsInvoicesFiltersBox\').toggleClick();', 1000);
	{/if}

	{* select all button was pressed *}
	{if $clientInvoicesSelectAll}
		ajaxIframeReload('balanceManagementDiv', 'balanceManagement.php');
	{/if}

</script>