mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
fix date on pdf report
This commit is contained in:
parent
f764e1007c
commit
0b059ac991
1 changed files with 2 additions and 2 deletions
|
|
@ -107,8 +107,8 @@ func (ps PdfService) BuildReport(r *booking.Report, period string, month, year i
|
|||
return map[string]any{
|
||||
"id": l.Id,
|
||||
"name": l.CustomerName,
|
||||
"from": l.From.Format("02 01 2006"),
|
||||
"to": l.To.Format("02 02 2006"),
|
||||
"from": l.From.Format("02/01/2006"),
|
||||
"to": l.To.Format("02/01/2006"),
|
||||
"total": strconv.FormatFloat(l.Total, 'f', 2, 64),
|
||||
"platform": l.Platform,
|
||||
"platform_fees": strconv.FormatFloat(l.PlatformFees, 'f', 2, 64),
|
||||
|
|
|
|||
Loading…
Reference in a new issue