From ba9c656fb0ec98bb5bd11f5268a350585e14402b Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Thu, 23 Aug 2018 09:57:08 +0300 Subject: [PATCH] add invoice layout --- templates/cart/order_invoice.html | 121 ++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 templates/cart/order_invoice.html diff --git a/templates/cart/order_invoice.html b/templates/cart/order_invoice.html new file mode 100644 index 0000000..36f92e2 --- /dev/null +++ b/templates/cart/order_invoice.html @@ -0,0 +1,121 @@ +{% load static %} + + + + + + Document + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
{{ bank }}БИК{{ BIK }}
Банк получателяСч. №{{ bank_acc }}
{{ name }}ИНН{{ INN }}
КПП{{ KPP }}
ПолучательСч. №{{ acc }}
+

+ Счет на оплату № {{ order.id }} от {{ order.create_at }} +

+ + + + + + + + + +
Поставщик:{{ sup_info }}
Покупатель:{{ order.customer_name }}
+ + + + + + + + + + + + + {% for item in order.buying_set.all %} + + + + + + + + + {% endfor %} + + + + + + + + + + + + + +
Товары(работы/услуги)Кол-воЕд.ЦенаСумма
{{ forloop.counter }}{{ item.offer.product.name }}{{ item.amount }}шт{{ item.offer.get_price_with_discount }}{{ item.total_price }}
Итого:{{ order.total_price }}
Без налога (НДС)-
Всего к оплате:{{ order.total_price }}
+

Всего наименований {{ order.buying_set.count }} на сумму {{ order.total_price }} руб.

+

{{ verb_price }} {{ verb_cur }} 00 копеек

+ + +