employeereport

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmployeeReport

type EmployeeReport struct {
	controller.BaseController
	Start       time.Time
	Stop        time.Time
	Employee    model.Employee
	Contracts   model.ContractList
	Attendances model.AttendanceList
	Leaves      model.LeaveList
	Payslip     *model.Payslip

	Result timesheet.MonthlyReport
}

type ReportController

type ReportController struct {
	controller.BaseController
	Input reportconfig.ReportRequest
	// contains filtered or unexported fields
}

func NewEmployeeReportController

func NewEmployeeReportController(ctx *controller.BaseController) *ReportController

func (*ReportController) DisplayEmployeeReport

func (c *ReportController) DisplayEmployeeReport() error

DisplayEmployeeReport GET /report/employees/:year/:month

Jump to

Keyboard shortcuts

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