{extends file="$tpl_admin_layout"} {block name="content"}
{$_L['Reports by Date']}

{$_L['Total Income']}: {$_c['currency_code']} {number_format($cr,2,$_c['dec_point'],$_c['thousands_sep'])}

{$_L['Total Expense']}: {$_c['currency_code']} {number_format($dr,2,$_c['dec_point'],$_c['thousands_sep'])}


{$_L['All Transactions at Date']}: {date( $_c['df'], strtotime($mdate))}


{foreach $d as $ds} {**} {/foreach}
{$_L['Account']} {$_L['Type']} {$_L['Amount']} {$_L['Description']} {$_L['Dr']} {$_L['Cr']} {$_L['Balance']}
{$ds['account']}{$ds['type']}{ib_lan_get_line($ds['type'])} {if $ds['category'] == 'Uncategorized'}{$_L['Uncategorized']} {else} {$ds['category']} {/if} {$_c['currency_code']} {number_format($ds['amount'],2,$_c['dec_point'],$_c['thousands_sep'])} {$ds['description']} {$_c['currency_code']} {number_format($ds['dr'],2,$_c['dec_point'],$_c['thousands_sep'])} {$_c['currency_code']} {number_format($ds['cr'],2,$_c['dec_point'],$_c['thousands_sep'])} {$_c['currency_code']} {number_format($ds['bal'],2,$_c['dec_point'],$_c['thousands_sep'])}
{/block}