refactor(templates): Dynamic image loading
This commit is contained in:
@@ -47,15 +47,12 @@ func GenerateContract(c *fiber.Ctx) error {
|
||||
})
|
||||
}
|
||||
|
||||
sponsoringHeader := services.GetImage("sponsoringheader")
|
||||
|
||||
genConfig := &models.ContractTemplateOptions{
|
||||
Runners: contract.Runners,
|
||||
CurrencySymbol: "€",
|
||||
Disclaimer: "This is a disclaimer",
|
||||
ReceiptMinimumAmount: 10,
|
||||
EventName: "Event name",
|
||||
SponsoringHeader: sponsoringHeader,
|
||||
BarcodeFormat: "ean13",
|
||||
BarcodePrefix: "1",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user