From 10eb82c7c00a0a1a75528644fbfbe108a769207f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 11 Nov 2022 22:57:19 +0530 Subject: serving created invoices as both HTML and JSON --- web/templates/views/invoice.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/templates/views/invoice.html (limited to 'web/templates/views/invoice.html') diff --git a/web/templates/views/invoice.html b/web/templates/views/invoice.html new file mode 100644 index 0000000..c8a3c70 --- /dev/null +++ b/web/templates/views/invoice.html @@ -0,0 +1,15 @@ + + + + + + OpenBills Testing + + + + + + + {{ template "partials/item_list.html" .Invoice.Items }} + + -- cgit v1.2.3