From caa0e1db19c0616031f7879d4298ed152b05f557 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 1 May 2022 21:38:59 +0200 Subject: Jinja2 templates. --- app/templates/modules/invoices.html | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app/templates/modules/invoices.html (limited to 'app/templates/modules/invoices.html') diff --git a/app/templates/modules/invoices.html b/app/templates/modules/invoices.html new file mode 100644 index 0000000..76fe267 --- /dev/null +++ b/app/templates/modules/invoices.html @@ -0,0 +1,44 @@ +{# -*- mode: jinja2; -*- #} + +{% extends "base.html" %} +{% block title %} + Products +{% endblock %} + +{% block content %} + +
+ New invoice +
+ + Track your invoices and create new ones here. + + + + + + + + + + + + + {% for invoice in invoices %} + + + + + + + {% if product.date_time_updated %} + + {% else %} + + {% endif %} + + + {% endfor %} + +
ActionsNamePrice (net)Price (gross)Updated
{{ product.name }}{{ product.price_net }}{{ product.price_gross }}{{ product.date_time_updated }}{{ product.date_time_created }}
+{% endblock %} -- cgit v1.2.3