2018-06-17 18:42:41 +03:00
|
|
|
<h2>
|
2018-06-10 02:39:05 +03:00
|
|
|
#{header}
|
|
|
|
|
|
|
|
<div .hidden-xs>
|
2021-06-23 05:00:59 +03:00
|
|
|
^{registerChartHtml q balancelabel $ accountTransactionsReportByCommodity items}
|
2018-06-10 02:39:05 +03:00
|
|
|
|
2018-06-17 15:31:10 +03:00
|
|
|
<div.table-responsive>
|
|
|
|
<table .table.table-striped.table-condensed>
|
2018-06-10 02:39:05 +03:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th style="text-align:left;">
|
|
|
|
Date
|
2018-06-17 15:31:10 +03:00
|
|
|
<span .glyphicon.glyphicon-chevron-up>
|
2018-06-10 02:39:05 +03:00
|
|
|
<th style="text-align:left;">Description
|
|
|
|
<th style="text-align:left;">To/From Account(s)
|
|
|
|
<th style="text-align:right; white-space:normal;">Amount Out/In
|
|
|
|
<th style="text-align:right; white-space:normal;">
|
2020-10-27 12:02:47 +03:00
|
|
|
#{balancelabel}
|
2018-06-10 02:39:05 +03:00
|
|
|
|
|
|
|
<tbody>
|
2019-06-08 11:01:43 +03:00
|
|
|
$forall (torig, tacct, split, _acct, amt, bal) <- items
|
2019-02-18 18:55:29 +03:00
|
|
|
<tr ##{tindex torig} title="#{showTransaction torig}" style="vertical-align:top;">
|
2018-06-10 02:39:05 +03:00
|
|
|
<td .date>
|
2020-05-26 14:04:26 +03:00
|
|
|
<a href="@?{(JournalR, [("q", T.unwords $ removeInacct q)])}##{transactionFrag torig}">
|
2018-06-10 02:39:05 +03:00
|
|
|
#{show (tdate tacct)}
|
2019-02-18 18:55:29 +03:00
|
|
|
<td>
|
2018-06-17 18:42:41 +03:00
|
|
|
#{textElideRight 30 (tdescription tacct)}
|
|
|
|
<td .account>
|
2019-06-10 20:33:16 +03:00
|
|
|
$forall (Posting { paccount = acc }, (summName,comma)) <- otherTransAccounts torig
|
2019-06-08 11:01:43 +03:00
|
|
|
<a href="@?{acctlink acc}##{tindex torig}" title="#{acc}">
|
2019-06-10 20:33:16 +03:00
|
|
|
#{summName}</a>#{comma}
|
2018-06-10 02:39:05 +03:00
|
|
|
<td .amount style="text-align:right; white-space:nowrap;">
|
2020-05-30 05:04:52 +03:00
|
|
|
$if not split || not (mixedAmountLooksZero amt)
|
2018-06-17 15:31:10 +03:00
|
|
|
^{mixedAmountAsHtml amt}
|
2018-06-17 18:42:41 +03:00
|
|
|
<td style="text-align:right;">
|
|
|
|
^{mixedAmountAsHtml bal}
|
2018-06-12 19:56:53 +03:00
|
|
|
|
2018-06-24 17:25:22 +03:00
|
|
|
$if elem CapAdd caps
|
|
|
|
^{addModal AddR j today}
|