Commits

Kai Diefenbach committed 3fd0579

Fixed display of discounts.

Comments (0)

Files changed (2)

lfstheme/templates/lfs/cart/cart_inline.html

 
                     </td>
                     <td class="number">
-                        - {{ discount.get_price_net|currency:request }}
+                        - {{ discount.price_net|currency:request }}
                     </td>
                     <td class="number">
                         - {{ discount.get_tax|currency:request }}
                     </td>
                     <td class="number">
-                        - {{ discount.get_price_gross|currency:request }}
+                        - {{ discount.price_gross|currency:request }}
                     </td>
                     <td></td>
                 </tr>

lfstheme/templates/lfs/checkout/checkout_cart_inline.html

             </td>
             <td></td>
             <td class="number">
-                - {{ discount.price|currency:request}}
+                - {{ discount.price_net|currency:request}}
             </td>
             <td class="number">
                 {% if discount.tax %}
                 {% endif %}
             </td>
             <td class="number">
-                - {{ discount.price|currency:request}}
+                - {{ discount.price_gross|currency:request}}
             </td>
         </tr>
     {% endfor %}