diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
commit | 10eb82c7c00a0a1a75528644fbfbe108a769207f (patch) | |
tree | ac5d413830d8e1f15985450230fe20490966fcb6 /web/templates/views/invoice.html | |
parent | 2f4a92b0f1d02096427a2d1c97746bb52cdcc38a (diff) |
serving created invoices as both HTML and JSON
Diffstat (limited to 'web/templates/views/invoice.html')
-rw-r--r-- | web/templates/views/invoice.html | 15 |
1 files changed, 15 insertions, 0 deletions
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 @@ +<!doctype html> +<html class="no-js" lang=""> + <head> + <meta charset="utf-8"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <title>OpenBills Testing</title> + <meta name="description" content=""> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <link rel="apple-touch-icon" href="/apple-touch-icon.png"> + </head> + <body> + {{ template "partials/item_list.html" .Invoice.Items }} + </body> +</html> |