-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeneficiaries__paid.tpl
60 lines (51 loc) · 1.85 KB
/
beneficiaries__paid.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{*
* Show the beneficiaries paid screen.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright 2014-2015 Jacques Marneweck. All rights strictly reserved.
*}
{include file="header.tpl" title="Accounts Page" nav="accounts"}
{include file="header.tpl" title="Beneficiaries Page" nav="beneficiaries"}
<div>
<h2 class="page-header">Beneficiaries</h2>
</div>
{include file="_partials/errors.tpl"}
<div>
<h3>Beneficary Payments Processed</h3>
<div class="alert alert-success">
Your payment has been processed.
</div>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Account Name</th>
<th>Your Reference</th>
<th>Their Reference</th>
<th>Amount</th>
<th> </th>
</tr>
</thead>
<tbody>
{foreach $beneficiaries item=row}
<tr>
<td>{$row.name|escape} <div class="pull-right">{$row.account_number}</td></td>
<td>{$row.reference1|escape}</td>
<td>{$row.reference2|escape}</td>
<td>R {($row.amount/100)|string_format:"%.2f"}</td>
<td>{if $row.onnet == 0}<a class="btn btn-primary" href="/beneficiaries/proofofpayment/{$row.txn_ref}"><i class="fa fa-fw fa-download"></i> Download Proof of Payment</a>{/if}</td>
</tr>
{/foreach}
<tr>
<td> </td>
<td> </td>
<td><div class="pull-right">Total:</div></td>
<td>R {($total/100)|string_format:"%.2f"}</td>
</tr>
</tbody>
</table>
<p class="clearfix"> </td>
</div>
{include file="footer.tpl"}