Skip to content

Commit

Permalink
Show the list of the last 10 EFT's
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques committed Oct 19, 2017
1 parent b4a695a commit 4242462
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions beneficiaries.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,28 @@
{/if}
</form>

<h4>Last 10 Payments (off us)</h4>

<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Beneficiary Name</th>
<th>Amount Paid</th>
<th>Instruction Received</th>
</tr>
</thead>
<tbody>
{foreach $previouspayments item=row}
<tr>
<td>{$row.name}</td>
<td>ZAR {($row.amount/100)|string_format:"%0.2f"}</td>
<td>{$row.queued_at|datetz}</td>
<td><a class="btn btn-primary" href="/beneficiaries/proofofpayment/{$row.txn_ref}"><i class="fa fa-fw fa-download"></i> Download Proof of Payment</a><td>
</tr>
{/foreach}
</tbody>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>

Expand Down

0 comments on commit 4242462

Please sign in to comment.