feat(certificate): German template

This commit is contained in:
Nicolai Ort 2024-12-09 16:44:46 +01:00
parent 2108c88001
commit 561e7151c6
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 108 additions and 2 deletions

View File

@ -13,6 +13,8 @@ type RunnerWithDonations struct {
Group Group `json:"group"` Group Group `json:"group"`
Distance int `json:"distance"` Distance int `json:"distance"`
DistanceDonations []DistanceDonation `json:"distance_donations"` DistanceDonations []DistanceDonation `json:"distance_donations"`
TotalPerDistance int `json:"total_per_distance"`
TotalDonations int `json:"total_donations"`
} }
type DistanceDonation struct { type DistanceDonation struct {
@ -31,6 +33,8 @@ type Donor struct {
} }
type CertificateTemplateOptions struct { type CertificateTemplateOptions struct {
Runners []RunnerWithDonations `json:"runners"` Runners []RunnerWithDonations `json:"runners"`
EventName string `json:"event_name"` EventName string `json:"event_name"`
Footer string `json:"footer"`
CurrencySymbol string `json:"currency_symbol"`
} }

File diff suppressed because one or more lines are too long