diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-09-29 15:27:01 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-09-29 15:28:52 +0200 |
commit | 814f4e6a3e28c06bd60e53171748721ae365c2da (patch) | |
tree | 98825de0c053a986d755895b8a301ed26f414a7a /templates/template.gohtml | |
download | paperwork-trunk.tar.gz |
init: invoice-gen and examplestrunk
Diffstat (limited to 'templates/template.gohtml')
-rw-r--r-- | templates/template.gohtml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/template.gohtml b/templates/template.gohtml new file mode 100644 index 0000000..911bfdd --- /dev/null +++ b/templates/template.gohtml @@ -0,0 +1,55 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"/> + <style> + {{ tpl (file.Read "templates/styles.css") }} + </style> +</head> + +<body> + <section> + {{ tpl (file.Read "templates/invoice.gohtml") + (dict + "ctx" (dict "lang" "fr") + "data" .data + "translations" .translations) }} + </section> + + <section> + <article class="annex"> + <p>annexe 01: facture en anglais / invoice</p> + </article> + {{ tpl (file.Read "templates/invoice.gohtml") + (dict + "ctx" (dict "lang" "en") + "data" .data + "translations" .translations) }} + </section> + + <!--- + <section> + <article class="annex"> + <p>annexe 02: conditions général de vente</p> + </article> + {{ tpl (file.Read "templates/terms.gohtml") + (dict + "ctx" (dict "lang" "fr") + "data" .data + "translations" .translations) }} + </section> + + <section> + <article class="annex"> + <p>annexe 03: conditions générales de vente en anglais / terms and conditions</p> + </article> + {{ tpl (file.Read "templates/terms.gohtml") + (dict + "ctx" (dict "lang" "en") + "data" .data + "translations" .translations) }} + </section> + ---> + +</body> +</html> |