service_object

package
v0.0.0-...-7e63d4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportExcelFile

func ExportExcelFile(ctx *gin.Context, server internal.Server) (*excelize.File, error)

func SearchConditions

func SearchConditions(ctx *gin.Context, tx *gorm.DB) *gorm.DB

Types

type DropDownReservations struct {
	DepartureDate            string
	TourItemID               int
	ItemDropDownReservations []ItemDropDownReservations
	TotalAdults              int
	TotalChildren            int
}

func LoadDropDownReservations

func LoadDropDownReservations(ctx *gin.Context, server internal.Server) []DropDownReservations

type ItemDropDownReservations

type ItemDropDownReservations struct {
	model.TourItem
	Tour          model.Tour
	Reservations  []model.Reservation
	TotalAdults   int
	TotalChildren int
	TotalPrice    float64
	TotalPaidUSD  float64
	TotalPaidVND  float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL