diff --git a/internal/pdf/service.go b/internal/pdf/service.go index ca4439e..0cc5ace 100644 --- a/internal/pdf/service.go +++ b/internal/pdf/service.go @@ -98,7 +98,7 @@ func (ps PdfService) BuildReport(r *booking.Report, period string, month, year i "month": month, "year": year, "total": strconv.FormatFloat(r.Total, 'f', 2, 64), - "platform_fees": r.PlatformFees, + "platform_fees": strconv.FormatFloat(r.PlatformFees, 'f', 2, 64), "fee": strconv.FormatFloat(r.Fee, 'f', 2, 64), "profit": strconv.FormatFloat(r.Profit, 'f', 2, 64), "card_total": strconv.FormatFloat(r.CardTotal, 'f', 2, 64),