silverstripe-webpack/app/templates/SilverShop/Model/Order_Payments.ss

33 lines
1.3 KiB
Scheme
Raw Normal View History

<table id="PaymentTable" class="infotable">
<thead>
<tr class="gap mainHeader">
<th colspan="4" class="left"><%t SilverShop\Payment.PaymentsHeadline "Payment(s)" %></th>
</tr>
<tr>
<th scope="row" class="twoColHeader"><%t SilverStripe\Omnipay\Model\Payment.Date "Date" %></th>
<th scope="row" class="twoColHeader"><%t SilverStripe\Omnipay\Model\Payment.Amount "Amount" %></th>
<th scope="row" class="twoColHeader"><%t SilverStripe\Omnipay\Model\Payment.db_Status "Payment Status" %></th>
<th scope="row" class="twoColHeader"><%t SilverStripe\Omnipay\Model\Payment.db_Gateway "Method" %></th>
</tr>
</thead>
<tbody>
<% loop $Payments %>
<tr>
<td class="price">$Created.Nice</td>
<td class="price">$Amount.Nice $Currency</td>
<td class="price">$PaymentStatus</td>
<td class="price">$GatewayTitle</td>
</tr>
<% if $ShowMessages %>
<% loop $Messages %>
<tr>
<td colspan="4">
$ClassName $Message $User.Name
</td>
</tr>
<% end_loop %>
<% end_if %>
<% end_loop %>
</tbody>
</table>