Compare commits
3 Commits
1.5.1
...
bc17f7256b
| Author | SHA1 | Date | |
|---|---|---|---|
|
bc17f7256b
|
|||
|
d2f3eea8a5
|
|||
|
f902c61490
|
@@ -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
Reference in New Issue
Block a user