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
|
2021-09-11 04:26:14 +03:00
|
|
|
:hideEmpty && not (isInterestingAccount acct):.hide>
|
|
|
|
<td .acct :not (isInterestingAccount acct):.empty>
|
2018-06-17 18:42:41 +03:00
|
|
|
<div .ff-wrapper>
|
|
|
|
\#{indent aindent}
|
2023-05-02 02:23:33 +03:00
|
|
|
<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
|
2023-05-02 02:23:33 +03:00
|
|
|
<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
|
2024-03-02 11:24:06 +03:00
|
|
|
<td .amount>
|
2018-06-17 18:42:41 +03:00
|
|
|
^{mixedAmountAsHtml abal}
|
|
|
|
<tr .total>
|
|
|
|
<td>
|
2024-03-02 11:24:06 +03:00
|
|
|
<td .amount>
|
2018-06-17 18:42:41 +03:00
|
|
|
^{mixedAmountAsHtml total}
|