Display payee and note separately hledger-web
This commit is contained in:
parent
961fd71e57
commit
807f9d800a
@ -232,6 +232,11 @@ ul {
|
|||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.transaction .title .transaction-note {
|
||||||
|
font-size: 1.3em;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.col-any-0 {
|
.col-any-0 {
|
||||||
width:0 !important;
|
width:0 !important;
|
||||||
height:0 !important;
|
height:0 !important;
|
||||||
|
|||||||
@ -10,13 +10,18 @@ $if elem AddPermission perms
|
|||||||
$forall torig <- items
|
$forall torig <- items
|
||||||
<li .transaction ##{transactionFrag torig}>
|
<li .transaction ##{transactionFrag torig}>
|
||||||
<div .title title="#{showTransaction torig}">
|
<div .title title="#{showTransaction torig}">
|
||||||
|
$with (payee, note) <- payeeAndNoteFromDescription' $ tdescription torig
|
||||||
<time .date datetime="#{show (tdate torig)}" nowrap>
|
<time .date datetime="#{show (tdate torig)}" nowrap>
|
||||||
#{show (tdate torig)}
|
#{show (tdate torig)}
|
||||||
$if not $ T.null $ tcode torig
|
$if not $ T.null $ tcode torig
|
||||||
<div .transaction-code>
|
<div .transaction-code>
|
||||||
(#{tcode torig})
|
(#{tcode torig})
|
||||||
<div>
|
$if not $ T.null $ T.strip payee
|
||||||
#{textElideRight 60 (tdescription torig)}
|
<div .transaction-payee>
|
||||||
|
#{textElideRight 60 payee}
|
||||||
|
$if not $ T.null $ T.strip note
|
||||||
|
<div .transaction-note>
|
||||||
|
#{textElideRight 60 note}
|
||||||
|
|
||||||
$if null $ filter isVisibleTag $ ttags torig
|
$if null $ filter isVisibleTag $ ttags torig
|
||||||
$else
|
$else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user