silverstripe-webpack/app/templates/SilverShop/Model/Order.ss
2023-03-24 20:35:01 +02:00

34 lines
1.1 KiB
Scheme

<% require css("app/client/dist/css/app_order.css") %>
<%-- As Order.ss is also used in emails, avoid div, paragraph and heading elements --%>
<% include SilverShop\Model\Order_Address %>
<% include SilverShop\Model\Order_Content %>
<% if $Total %>
<% if $Payments %>
<% include SilverShop\Model\Order_Payments %>
<% end_if %>
<table id="OutstandingTable" class="infotable">
<tbody>
<tr class="gap summary" id="Outstanding">
<th colspan="4" scope="row" class="threeColHeader"><strong><%t SilverShop\Model\Order.TotalOutstanding "Total outstanding" %></strong></th>
<td class="right"><strong>$TotalOutstanding.Nice </strong></td>
</tr>
</tbody>
</table>
<% end_if %>
<% if $Notes %>
<table id="NotesTable" class="infotable">
<thead>
<tr>
<th><%t SilverShop\Model\Order.db_Notes "Notes" %></th>
</tr>
</thead>
</tbody>
<tr>
<td>$Notes</td>
</tr>
</tbody>
</table>
<% end_if %>