Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigController ¶
type ConfigController struct {
controller.Context
// contains filtered or unexported fields
}
func NewConfigController ¶
func NewConfigController(ctx *controller.Context) *ConfigController
func (*ConfigController) ShowConfigurationForm ¶
func (c *ConfigController) ShowConfigurationForm() error
type ConfigView ¶
type ConfigView struct {
// contains filtered or unexported fields
}
func (*ConfigView) GetConfigurationValues ¶
func (v *ConfigView) GetConfigurationValues() controller.Values
type ReportController ¶
type ReportController struct {
controller.Context
Input ReportRequest
Employee *model.Employee
ReportView *reportView
Contracts model.ContractList
Attendances model.AttendanceList
Leaves model.LeaveList
Payslip *model.Payslip
// contains filtered or unexported fields
}
func NewReportController ¶
func NewReportController(ctx *controller.Context) *ReportController
func (*ReportController) DisplayOvertimeReport ¶
func (c *ReportController) DisplayOvertimeReport() error
DisplayOvertimeReport GET /report/:id/:year/:month
func (*ReportController) ProcessInput ¶
func (c *ReportController) ProcessInput() error
type ReportRequest ¶
type ReportRequest struct {
Year int `param:"year" form:"year"`
Month int `param:"month" form:"month"`
SearchUser string `form:"username"`
SearchUserEnabled bool
EmployeeID int `param:"employee"`
}
func (*ReportRequest) FromRequest ¶
func (i *ReportRequest) FromRequest(e echo.Context) error
Click to show internal directories.
Click to hide internal directories.