helpers

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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