localisation++
[photoprint.git] / skins / order_view.py
index 308844c..1930d31 100755 (executable)
@@ -55,6 +55,7 @@ for item in context.items :
 options['infos'] = infos
 options['quantity'] = quantity
 options['pricesSum'] = context.price
 options['infos'] = infos
 options['quantity'] = quantity
 options['pricesSum'] = context.price
+options['discount'] = getattr(context, 'discount', 0)
 options['shippingFees'] = shippingFees = context.shippingFees
 options['total'] = context.amountWithFees
 
 options['shippingFees'] = shippingFees = context.shippingFees
 options['total'] = context.amountWithFees