Compare commits
No commits in common. "bc17f7256bf8e824d61c360c05ebcb0f2aa08bcd" and "f902c61490d43efb67ea004c4c512cb1f699329e" have entirely different histories.
bc17f7256b
...
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
|
||||
INST
|
||||
SCT
|
||||
%s
|
||||
%s
|
||||
%s
|
||||
%s%.2f
|
||||
|
||||
%s
|
||||
|
||||
`, bic, name, iban, currency, float64(amount)/100, title,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user