mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-11 05:06:52 +00:00
format platform fees value
This commit is contained in:
parent
1b2906bd65
commit
873e957078
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue