38 lines
1.4 KiB
HTML
38 lines
1.4 KiB
HTML
{{define "content"}}
|
|||
|
|
<section class="hero">
|
||
|
|
<div class="hero-label">Account Funding</div>
|
||
|
|
<div class="hero-sub">Real-money deposits and withdrawals to/from Kraken (GBP, USD, EUR, ...) — how much cash you've put in or taken out, separate from what your crypto is worth. Crypto deposits/withdrawals show on that coin's own page.</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
{{if .Transfers}}
|
||
|
|
<div class="table-scroll">
|
||
|
|
<table class="ledger sortable" data-sort-key="transfers">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th data-sort="date">Date</th>
|
||
|
|
<th data-sort="currency">Currency</th>
|
||
|
|
<th data-sort="type">Type</th>
|
||
|
|
<th data-sort="source">Source</th>
|
||
|
|
<th data-sort="amount">Amount</th>
|
||
|
|
<th data-sort="value">Value</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
{{range .Transfers}}
|
||
|
|
<tr>
|
||
|
|
<td data-label="Date" data-sort-value="{{.OccurredAt.Unix}}">{{dateStr .OccurredAt}}</td>
|
||
|
|
<td data-label="Currency">{{.Currency}}</td>
|
||
|
|
<td data-label="Type"><span class="badge {{.EntryType}}">{{capitalize .EntryType}}</span></td>
|
||
|
|
<td class="source" data-label="Source">{{.Source}}</td>
|
||
|
|
<td class="mono" data-label="Amount" data-sort-value="{{sortVal .Amount}}">{{amt .Amount}}</td>
|
||
|
|
<td class="mono" data-label="Value" data-sort-value="{{sortVal .CurrentValue}}">{{money .CurrentValue}}</td>
|
||
|
|
</tr>
|
||
|
|
{{end}}
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
{{else}}
|
||
|
|
<p class="empty">No account funding recorded yet.</p>
|
||
|
|
{{end}}
|
||
|
|
{{end}}
|