feat(services): Support for multiple barcode formats 🥳

This commit is contained in:
2024-12-03 18:02:15 +01:00
parent 8812bf2410
commit 62f04f7d1c
4 changed files with 42 additions and 20 deletions

View File

@@ -62,6 +62,8 @@ func GenerateContract(c *fiber.Ctx) error {
ReceiptMinimumAmount: 10,
EventName: "Event name",
SponsoringHeader: templates.ImageSponsoringHeaderBase64,
BarcodeFormat: "ean13",
BarcodePrefix: "1",
})
if err != nil {
return c.Status(fiber.StatusInternalServerError).JSON(fiber.Map{