Documentation
¶
Index ¶
- type MonthlyReportController
- func (c *MonthlyReportController) CalculateMonthlyReport(_ context.Context) error
- func (c *MonthlyReportController) DisplayMonthlyOvertimeReport() error
- func (c *MonthlyReportController) FetchReportData(ctx context.Context) error
- func (c *MonthlyReportController) GetNextPayslip() *model.Payslip
- func (c *MonthlyReportController) GetPreviousPayslip() *model.Payslip
- type ReportController
- type YearlyReportController
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
Click to show internal directories.
Click to hide internal directories.