This commit is contained in:
Christopher Neugebauer 2016-04-25 12:59:43 +10:00
parent 4373b7260d
commit 1b9f76823f

View file

@ -511,9 +511,7 @@ def checkout(request):
"error_list", [str, ...] # The errors to display. "error_list", [str, ...] # The errors to display.
} }
'''
Runs checkout for the current cart of items, ideally generating an
invoice. '''
current_cart = CartController.for_user(request.user) current_cart = CartController.for_user(request.user)
@ -590,7 +588,8 @@ def invoice(request, invoice_id, access_code=None):
Returns: Returns:
render: render:
Renders ``registrasion/invoice.html``, with the following data:: Renders ``registrasion/invoice.html``, with the following
data::
{ {
"invoice": models.commerce.Invoice(), "invoice": models.commerce.Invoice(),