2018-06-17 18:42:41 +03:00
|
|
|
<h2>
|
2018-06-10 02:39:05 +03:00
|
|
|
#{header}
|
|
|
|
|
|
|
|
<div .hidden-xs>
|
|
|
|
^{registerChartHtml $ transactionsReportByCommodity r}
|
|
|
|
|
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;">
|
|
|
|
#{balancelabel'}
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<a href="@{JournalR}#transaction-#{tindex torig}">
|
|
|
|
#{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-08 11:22:51 +03:00
|
|
|
$forall (Posting { paccount = acc }, comma) <- otherTransAccounts torig
|
2019-06-08 11:01:43 +03:00
|
|
|
<a href="@?{acctlink acc}##{tindex torig}" title="#{acc}">
|
2019-06-08 11:22:51 +03:00
|
|
|
#{accountSummarisedName acc}</a>#{comma}
|
2018-06-10 02:39:05 +03:00
|
|
|
<td .amount style="text-align:right; white-space:nowrap;">
|
|
|
|
$if not split || not (isZeroMixedAmount 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}
|