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

{$_L['Income Summary']}


{$_L['Total Income']}: {$_c['currency_code']} {number_format($a,2,$_c['dec_point'],$_c['thousands_sep'])}
{$_L['Total Income This Month']}: {$_c['currency_code']} {number_format($m,2,$_c['dec_point'],$_c['thousands_sep'])}
{$_L['Total Income This Week']}: {$_c['currency_code']} {number_format($w,2,$_c['dec_point'],$_c['thousands_sep'])}
{$_L['Total Income Last 30 days']}: {$_c['currency_code']} {number_format($m3,2,$_c['dec_point'],$_c['thousands_sep'])}

{$_L['Last 20 deposit Income']}


{foreach $d as $ds} {/foreach}
{$_L['Date']} {$_L['Account']} {$_L['Type']} {$_L['Category']} {$_L['Amount']} {$_L['Payer']} {$_L['Description']} {$_L['Cr']} {$_L['Balance']}
{date( $_c['df'], strtotime($ds['date']))} {$ds['account']} {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['payer']} {$ds['description']} {$_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'])}

{$_L['Monthly Income Graph']}



{/block}