3 Commits

Author SHA1 Message Date
bc17f7256b Merge branch 'main' of git.odit.services:lfk/document-server
All checks were successful
Build latest image / build-container (push) Successful in 1m34s
2025-04-25 15:50:45 +02:00
d2f3eea8a5 fix(templater): Fix epc generation 2025-04-25 15:50:28 +02:00
f902c61490 feat(certificate): update footer image
All checks were successful
Build release images / build-container (push) Successful in 2m13s
Build latest image / build-container (push) Successful in 2m19s
2025-04-23 11:57:44 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -38,17 +38,17 @@ func idToEan13(id string, prefix string) (string, error) {
func (t *DefaultTemplater) GenerateEPC(iban string, bic string, name string, title string, amount int, currency string) (string, error) {
var err error
code := fmt.Sprintf(`
BCD
code := fmt.Sprintf(`BCD
002
1
SCT
INST
%s
%s
%s
%s%.2f
%s
`, bic, name, iban, currency, float64(amount)/100, title,
)

File diff suppressed because one or more lines are too long