Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BookRecurringLeave ¶
func BookRecurringLeave(client *api.TimetasticClient, data RecurringCreationData)
func GetDepartmentGroup ¶
func GetDepartmentGroup(departments []api.DepartmentResponse, value *int) *huh.Group
Types ¶
type RecurringCreationData ¶
type RecurringCreationData struct {
DepartmentID int
LeaveTypeID int
Day time.Weekday
StartDate string
EndDate *string
WeeksToCreate int
WeeksToAdd int
}
func RecurringBookingForm ¶
func RecurringBookingForm(departments []api.DepartmentResponse, leavetypes []api.LeaveType) RecurringCreationData
Click to show internal directories.
Click to hide internal directories.