mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
35 lines
725 B
Go
35 lines
725 B
Go
package view
|
|
|
|
import (
|
|
"github.com/a-h/templ"
|
|
"github.com/rjNemo/rentease/internal/config"
|
|
)
|
|
|
|
type BookingViewModel struct {
|
|
Id string
|
|
Name string
|
|
PhoneNumber string
|
|
CustomerNumber string
|
|
Email string
|
|
Canceled bool
|
|
From string
|
|
To string
|
|
Platform string
|
|
ExternalId string
|
|
Platforms []string
|
|
PlatformFees string
|
|
Items ItemListViewModel
|
|
ItemList []string
|
|
PaymentMethods []config.PaymentMethod
|
|
Url string
|
|
PdfUrl templ.SafeURL
|
|
PaymentUrl string
|
|
CancelUrl string
|
|
Total string
|
|
}
|
|
|
|
type PaymentViewModel struct {
|
|
Amount string
|
|
PaymentMethod string
|
|
PaymentUrl string
|
|
}
|