-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount__statements.tpl
39 lines (34 loc) · 1.08 KB
/
account__statements.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{include file="header.tpl" title="Your Statements" nav="accounts"}
<h1>Download your statement</h1>
<p>
Please choose a format to download your transaction data in. Choose from CSV, PDF or Excel.
</p>
{if $months|@count eq 0}
<p>
You presently do not have any account statements available for download.
</p>
{/if}
<table class="table">
<thead>
<tr>
<th>Month</th>
<th>Format</th>
</tr>
</thead>
<tbody>
{foreach $months item=row}
<tr>
<td>{$row.month_name}</td>
<td>
<a href="/{if $account.account_type eq 'wallet'}accounts{else}businessaccounts{/if}/{$account.uuid}/statements/{$row.month_yyyymm}/csv">CSV</a>
{* • PDF*}
•
<a href="/{if $account.account_type eq 'wallet'}accounts{else}businessaccounts{/if}/{$account.uuid}/statements/{$row.month_yyyymm}/pdf">PDF</a>
•
<a href="/{if $account.account_type eq 'wallet'}accounts{else}businessaccounts{/if}/{$account.uuid}/statements/{$row.month_yyyymm}/xlsx">Excel</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{include file="footer.tpl"}