19 lines
558 B
Text
19 lines
558 B
Text
|
.card-wrapper
|
||
|
.card
|
||
|
- @transactions.each do |t|
|
||
|
- t.symbolize_keys!
|
||
|
- date = Date.parse t[:time]
|
||
|
.transaction
|
||
|
.transaction-calendar
|
||
|
%span.transaction-day= date.strftime('%d')
|
||
|
%span.transaction-month= Date::MONTHNAMES[date.month][0..2]
|
||
|
.transaction-block
|
||
|
.transaction-block-l
|
||
|
%h4.transaction-message
|
||
|
= t[:message]
|
||
|
.transaction-peer
|
||
|
= t[:peer]
|
||
|
.transaction-block-r
|
||
|
= euro_from_cents t[:amount]
|
||
|
.clear-both
|