first implementation of --depth for register
This commit is contained in:
parent
a2d29dda5f
commit
658029d39f
1 changed files with 4 additions and 0 deletions
|
|
@ -473,6 +473,10 @@ void collapse_posts::report_subtotal()
|
||||||
value_t& collapse_posts::find_totals(account_t* account)
|
value_t& collapse_posts::find_totals(account_t* account)
|
||||||
{
|
{
|
||||||
unsigned short depth=3;
|
unsigned short depth=3;
|
||||||
|
|
||||||
|
if(depth==0)
|
||||||
|
return totals[_("<Total>")];
|
||||||
|
|
||||||
if(account->depth==depth)
|
if(account->depth==depth)
|
||||||
return totals[account->fullname()];
|
return totals[account->fullname()];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue