format platform fees value

This commit is contained in:
Ruidy 2024-03-20 17:03:18 +01:00
parent 1b2906bd65
commit 873e957078
No known key found for this signature in database
GPG key ID: E00F51288CB857CC

View file

@ -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),