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

19 lines
760 B
Scheme

<tfoot>
<tr class="gap summary" id="SubTotal">
<td colspan="4" scope="row" class="threeColHeader subtotal"><%t SilverShop\Model\Order.SubTotal "Sub-total" %></td>
<td class="right">$SubTotal.Nice</td>
</tr>
<% loop $Modifiers %>
<% if $ShowInTable %>
<tr class="modifierRow $EvenOdd $FirstLast $Classes">
<td colspan="4" scope="row">$TableTitle</td>
<td class="right">$TableValue.Nice</td>
</tr>
<% end_if %>
<% end_loop %>
<tr class="gap summary total" id="Total">
<td colspan="4" scope="row" class="threeColHeader total"><%t SilverShop\Model\Order.Total "Total" %></td>
<td class="right">$Total.Nice $Currency</td>
</tr>
</tfoot>