summaryrefslogtreecommitdiffstats
path: root/templates/template.gohtml
blob: 911bfdd20a53b86672ac31c84aa5dd4261745639 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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>
remember that computers suck.