overtimereport

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonthlyReportController added in v1.5.0

type MonthlyReportController struct {
	ReportController
	ReportView    *monthlyReportView
	User          *model.User
	Payslips      model.PayslipList
	BalanceReport timesheet.BalanceReport
}

func NewMonthlyReportController added in v1.5.0

func NewMonthlyReportController(ctx controller.BaseController) *MonthlyReportController

func (*MonthlyReportController) CalculateMonthlyReport added in v1.5.0

func (c *MonthlyReportController) CalculateMonthlyReport(_ context.Context) error

func (*MonthlyReportController) DisplayMonthlyOvertimeReport added in v1.5.0

func (c *MonthlyReportController) DisplayMonthlyOvertimeReport() error

DisplayMonthlyOvertimeReport GET /report/:id/:year/:month

func (*MonthlyReportController) FetchReportData added in v1.5.0

func (c *MonthlyReportController) FetchReportData(ctx context.Context) error

func (*MonthlyReportController) GetNextPayslip added in v1.5.0

func (c *MonthlyReportController) GetNextPayslip() *model.Payslip

func (*MonthlyReportController) GetPreviousPayslip added in v1.5.0

func (c *MonthlyReportController) GetPreviousPayslip() *model.Payslip

type ReportController

type ReportController struct {
	controller.BaseController
	Input       reportconfig.ReportRequest
	Employee    model.Employee
	Contracts   model.ContractList
	Attendances model.AttendanceList
	Leaves      odoo.List[model.Leave]
}

type YearlyReportController added in v1.5.0

type YearlyReportController struct {
	ReportController
	ReportView *yearlyReportView
	Payslips   model.PayslipList
}

func NewYearlyReportController added in v1.5.0

func NewYearlyReportController(controller controller.BaseController) *YearlyReportController

func (*YearlyReportController) DisplayYearlyOvertimeReport added in v1.5.0

func (c *YearlyReportController) DisplayYearlyOvertimeReport() error

DisplayYearlyOvertimeReport GET /report/:id/:year

Jump to

Keyboard shortcuts

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