X-Git-Url: https://scm.cri.mines-paristech.fr/git/photoprint.git/blobdiff_plain/205a98c2f6e0548ced213fc330c1a0704e9c3c64..f4c99bcdc9425cde32f0323811cf737e0d567070:/skins/order_view.py?ds=sidebyside diff --git a/skins/order_view.py b/skins/order_view.py index 308844c..1930d31 100755 --- a/skins/order_view.py +++ b/skins/order_view.py @@ -55,6 +55,7 @@ for item in context.items : 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