Show the total taxes included in sub total when taxes included in prices is selected in store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -322,14 +322,19 @@ function setAlternateGwp(field) {
|
||||
</table>
|
||||
<table>
|
||||
<#if shoppingCart.getAdjustments()?has_content>
|
||||
<tr>
|
||||
<th>${uiLabelMap.CommonSubTotal}:</th>
|
||||
<td><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal() isoCode=shoppingCart.getCurrency()/></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<#if (shoppingCart.getDisplaySubTotal()-shoppingCart.getSubTotal() > 0.0)>
|
||||
<tr>
|
||||
<th>${uiLabelMap.CommonSubTotal}:</th>
|
||||
<td><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal() isoCode=shoppingCart.getCurrency()/></td>
|
||||
<td> </td>
|
||||
<th>${uiLabelMap.OrderSalesTaxIncluded}:</th>
|
||||
<td><@ofbizCurrency amount=shoppingCart.getDisplaySubTotal()-shoppingCart.getSubTotal() isoCode=shoppingCart.getCurrency()/></td>
|
||||
</tr>
|
||||
</#if>
|
||||
<#list shoppingCart.getAdjustments() as cartAdjustment>
|
||||
<#assign adjustmentType = cartAdjustment.getRelatedOneCache("OrderAdjustmentType")>
|
||||
<!-- adjustment info: ${cartAdjustment.toString()} -->
|
||||
<tr>
|
||||
<th>
|
||||
${uiLabelMap.EcommerceAdjustment} - ${adjustmentType.get("description",locale)?if_exists}
|
||||
@@ -340,13 +345,6 @@ function setAlternateGwp(field) {
|
||||
</tr>
|
||||
</#list>
|
||||
</#if>
|
||||
|
||||
<#if (shoppingCart.getTotalSalesTax() > 0.0)>
|
||||
<tr>
|
||||
<th>${uiLabelMap.OrderSalesTax}:</th>
|
||||
<td><@ofbizCurrency amount=shoppingCart.getTotalSalesTax() isoCode=shoppingCart.getCurrency()/></td>
|
||||
</tr>
|
||||
</#if>
|
||||
<tr>
|
||||
<th>${uiLabelMap.EcommerceCartTotal}:</th>
|
||||
<td><@ofbizCurrency amount=shoppingCart.getDisplayGrandTotal() isoCode=shoppingCart.getCurrency()/></td>
|
||||
|
||||
Reference in New Issue
Block a user