feat: reastructure and create commands
Go / build (push) Successful in 57s

This commit is contained in:
schreifuchs committed 2025-09-16 21:14:39 +02:00
1 parent 8180b38225
commit 7d160d5f59
15 files changed
+388 -5

No files matched your search

+2 -2
View File
@@ -45,11 +45,11 @@ func (s *Service) Generate(creditor, deptor model.Entity, mindur time.Duration,
)
html, err := r.ToHTML()
if err != nil {
return
return document, r, err
}
document, err = s.pdf.HtmlToPdf(html)
return
return document, r, err
}
func filter[T any](slice []T, ok func(T) bool) []T {