Commits

Kai Diefenbach committed ebb15fd Merge

merge

  • Participants
  • Parent commits e1e4861, b4406a8

Comments (0)

Files changed (2)

File lfstheme/templates/lfs/cart/cart_inline.html

                     </td>
                 </tr>
             {% endfor %}
+            {% for discount in discounts %}
+                <tr id="discounts-display">
+                    <td></td>
+                    <td class="left">
+                        {{ discount.name }}
+                    </td>
+                    <td class="number">
+                        1
+                    </td>
+                    <td class="number">
+                        
+                    </td>
+                    <td class="number">
+                        {% if discount.tax %}
+                            ({{ discount.tax|currency }})
+                        {% endif %}
+                    </td>
+                    <td class="number">
+                        - {{ discount.price|currency }}
+                    </td>
+                    <td></td>
+                </tr>                
+            {% endfor %}
 
             {% if display_voucher %}
                 <tr id="voucher-display">

File lfstheme/templates/lfs/checkout/checkout_cart_inline.html

         </tr>
     {% endfor %}
 
+    {% for discount in discounts %}
+        <tr id="discounts-display">
+            <td></td>
+            <td class="left">
+                {{ discount.name }}
+            </td>
+            <td class="number">
+                1
+            </td>
+            <td class="number">
+                - {{ discount.price|currency }}                
+            </td>
+            <td class="number">
+                {% if discount.tax %}
+                    (- {{ discount.tax|currency }})
+                {% endif %}
+            </td>
+            <td class="number">
+                - {{ discount.price|currency }}
+            </td>
+            <td></td>
+        </tr>                
+    {% endfor %}
+
     {% if display_voucher %}
         <tr id="voucher-display">
             <td></td>