Documentation ¶
Index ¶
- func DeletePunch(byuID string, req structs.DeletePunch) error
- func DeleteWorkOrderEntry(byuID string, request structs.ClientDeleteWorkOrderEntry) error
- func FixPunch(byuID string, req structs.ClientPunchRequest) error
- func LunchPunch(byuID string, req structs.LunchPunch) error
- func OtherHours(byuID string, request structs.ClientOtherHoursRequest) (string, error)
- func Punch(byuID string, request structs.ClientPunchRequest) error
- func UpsertWorkOrderEntry(byuID string, req structs.WorkOrderUpsert) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePunch ¶
func DeletePunch(byuID string, req structs.DeletePunch) error
DeletePunch will delete a punch from the employee record and report up the websocket.
func DeleteWorkOrderEntry ¶
func DeleteWorkOrderEntry(byuID string, request structs.ClientDeleteWorkOrderEntry) error
DeleteWorkOrderEntry deletes a work order entry and reports to the websocket
func FixPunch ¶
func FixPunch(byuID string, req structs.ClientPunchRequest) error
FixPunch will record a regular punch on the employee record and report up the websocket.
func LunchPunch ¶
func LunchPunch(byuID string, req structs.LunchPunch) error
LunchPunch will record a lunch punch on the employee record and report up the websocket.
func OtherHours ¶
func OtherHours(byuID string, request structs.ClientOtherHoursRequest) (string, error)
OtherHours will record sick/vacation hours for the employee and report up the websocket.
func Punch ¶
func Punch(byuID string, request structs.ClientPunchRequest) error
Punch will record a regular punch on the employee record and report up the websocket.
func UpsertWorkOrderEntry ¶
func UpsertWorkOrderEntry(byuID string, req structs.WorkOrderUpsert) error
UpsertWorkOrderEntry .
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.