#{title'} $if elem CapAdd caps Add a transaction
Date Description Account Amount $forall (torig, _, split, _, amt, _) <- items
#{show (tdate torig)} #{textElideRight 60 (tdescription torig)} $if not split && not (isZeroMixedAmount amt) ^{mixedAmountAsHtml amt} $forall Posting { paccount = acc, pamount = amt } <- tpostings torig
  #{elideAccountName 40 acc} ^{mixedAmountAsHtml amt} $if elem CapAdd caps ^{addModal AddR j today}