securetrading_ws_transactions.tpl
1.81 KB
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
<table class="transactions list">
<thead>
<tr>
<td class="left"><?php echo $column_order_id ?></td>
<td class="left"><?php echo $column_transaction_reference ?></td>
<td class="left"><?php echo $column_customer ?></td>
<td class="left"><?php echo $column_total ?></td>
<td class="left"><?php echo $column_currency ?></td>
<td class="left"><?php echo $column_settle_status ?></td>
<td class="left"><?php echo $column_status ?></td>
<td class="left"><?php echo $column_payment_type ?></td>
<td class="left"><?php echo $column_type ?></td>
</tr>
</thead>
<tbody>
<?php if ($transactions) { ?>
<?php foreach ($transactions as $transaction) { ?>
<tr>
<td class="left"><a href="<?php echo $transaction['order_href'] ?>" target="_blank"><?php echo $transaction['order_id'] ?></a></td>
<td class="left"><?php echo $transaction['transaction_reference'] ?></td>
<td class="left"><?php echo $transaction['customer'] ?></td>
<td class="left"><?php echo $transaction['total'] ?></td>
<td class="left"><?php echo $transaction['currency'] ?></td>
<td class="left"><?php echo $transaction['settle_status'] ?></td>
<td class="left"><?php echo $transaction['status'] ?></td>
<td class="left"><?php echo $transaction['payment_type'] ?></td>
<td class="left"><?php echo $transaction['type'] ?></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td colspan="9" class="center"><?php echo $text_no_transactions ?></td>
</tr>
<?php } ?>
</tbody>
</table>