Support trees in the Equity view
This commit is contained in:
@@ -174,15 +174,23 @@ export default class HledgerDashboard extends Component {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each group.holders as |holder|}}
|
||||
{{#each group.rows as |row|}}
|
||||
<tr>
|
||||
<td>{{holder.holder}}</td>
|
||||
<td
|
||||
class={{dConcatClass
|
||||
"hledger-dashboard__account"
|
||||
(this.depthClass row.depth)
|
||||
}}
|
||||
title={{row.account}}
|
||||
>
|
||||
{{row.label}}
|
||||
</td>
|
||||
<td class="hledger-dashboard__amount">{{this.amountText
|
||||
row.amounts
|
||||
}}</td>
|
||||
<td
|
||||
class="hledger-dashboard__amount"
|
||||
>{{holder.amount.display}}</td>
|
||||
<td
|
||||
class="hledger-dashboard__amount"
|
||||
>{{holder.percentage}}%</td>
|
||||
>{{row.percentage}}%</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
<tr class="hledger-dashboard__total">
|
||||
|
||||
Reference in New Issue
Block a user