Währung
Betrag
CHF
diff --git a/report/template.go b/report/template.go index f1c4a8c..2f69335 100644 --- a/report/template.go +++ b/report/template.go @@ -10,12 +10,19 @@ import ( "time" ) -//go:embed template.html +//go:embed assets/template.html var htmlTemplate string -//go:embed style.css +//go:embed assets/style.css var style template.CSS +//go:embed assets/ch-cross.svg +var chCross template.HTML + +func (r Report) ChCross() template.HTML { + return chCross +} + func (r Report) ToHTML() string { tmpl := template.Must( template.New("report").Funcs(template.FuncMap{