From 7dfa64b6e3dc160b2c6233c66dfe269e043f566b Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Tue, 31 Jul 2018 11:31:42 +0300 Subject: [PATCH] add cart template layouts --- templates/cart/bought_history.html | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 templates/cart/bought_history.html diff --git a/templates/cart/bought_history.html b/templates/cart/bought_history.html new file mode 100644 index 0000000..365b5d9 --- /dev/null +++ b/templates/cart/bought_history.html @@ -0,0 +1,34 @@ +{% extends 'base.html' %} +{% block content %} +
+
+
История покупок
+ + + + + + + + + {% for bought_item in bought_item_list %} + + + + + + + + {% empty %} + + + + + + + + {% endfor %} +
Дата№ счетаНаименованиеКол-воСумма
{{ bought_item.bought_at }}{{ bought_item.id }}{{ bought_item.product.name }}{{ bought_item.amount }}{{ bought_item.total_price }}7570₽
12.06.17142251366Windows 7 BOX...17570₽
+
+
+{% endblock content %}