hledger/hledger-web/templates/balance-report.hamlet

26 lines
975 B
Plaintext
Raw Normal View History

2018-06-17 18:42:41 +03:00
<tr :here == journalR:.inacct>
<td .top .acct>
<a href=@{journalR} :here == journalR:.inacct
title="Show general journal entries, most recent first">
Journal
<td .top>
$forall (acct, adisplay, aindent, abal) <- items
<tr
:matchesAcctSelector acct:.inacct
:hideEmpty && not (isInterestingAccount acct):.hide>
<td .acct :not (isInterestingAccount acct):.empty>
2018-06-17 18:42:41 +03:00
<div .ff-wrapper>
\#{indent aindent}
<a.acct-name href="@?{(registerR, [("q", replaceInacct qparam $ accountQuery acct)])}"
2018-06-17 18:42:41 +03:00
title="Show transactions affecting this account and subaccounts">
#{adisplay}
$if hasSubAccounts acct
<a href="@?{(registerR, [("q", replaceInacct qparam $ accountOnlyQuery acct)])}" .only.hidden-sm.hidden-xs
2018-06-17 18:42:41 +03:00
title="Show transactions affecting this account but not subaccounts">only
<td>
^{mixedAmountAsHtml abal}
<tr .total>
<td>
<td>
^{mixedAmountAsHtml total}