Checkout: Render template prices (untaxed, tax and total amount)

This commit is contained in:
resteve 2014-11-12 19:58:12 +01:00
parent 96a9b0b0b8
commit 679307c356
1 changed files with 6 additions and 1 deletions

View File

@ -573,6 +573,11 @@ def checkout(lang):
carts=carts,
values=values,
errors=errors,
prices={
'untaxed_amount': untaxed_amount,
'tax_amount': tax_amount,
'total_amount': total_amount,
},
)
@cart.route("/", endpoint="cart")
@ -700,7 +705,7 @@ def cart_list(lang):
'untaxed_amount': untaxed_amount,
'tax_amount': tax_amount,
'total_amount': total_amount,
}
},
)
@cart.route("/pending", endpoint="cart-pending")