Skip to main content

PayrollController

Base path/api/payroll
ModulePayroll
Endpoints8
OpenAPI tagPayroll
Sourcebackend/src/main/java/com/motorph/payroll/controller/PayrollController.java

Endpoints​

MethodPathRequiresHandler
GET/api/payrollpayroll.dashboard.view or payroll.manage or payroll.approvelist()
GET/api/payroll/{id}payroll.dashboard.view or payroll.manage or payroll.approvegetById()
GET/api/payroll/next-periodpayroll.managenextPeriod()
POST/api/payrollpayroll.managecreate()
POST/api/payroll/{id}/generate-payslipspayroll.managegeneratePayslips()
PATCH/api/payroll/{id}/decisionpayroll.approvedecide()
PATCH/api/payroll/{id}/statuspayroll.manageupdateStatus()
DELETE/api/payroll/{id}payroll.managedelete()

Call chain​

10 of 22 reachable repositories shown.

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: PayrollService.

Tables reached​

EntityTableTenant-scoped
CompanyProfilecompany_profileYes
DeMinimisBenefitTypede_minimis_benefit_typesYes
EmployeeemployeeYes
EmployeeDeductionemployee_deductionsYes
LeaveRequestleave_requestYes
OvertimeRequestovertime_requestYes
PagibigContributionRatepagibig_contribution_rates—
PayrollpayrollYes
PayrollApprovalpayroll_approvalYes
PayrollChangepayroll_changesYes
PayrollSettingspayroll_settingsYes
PayslippayslipYes
PayslipDeductionItempayslip_deduction_itemsYes
PayslipHistorypayslip_historyYes
PhHolidayph_holidaysYes
PhilhealthContributionRatephilhealth_contribution_rates—
SssContributionRatesss_contribution_rates—
TimesheettimesheetYes
Userusers—
UserLoguser_log—
WithholdingTaxBracketwithholding_tax_brackets—
WorkSuspensionwork_suspensionsYes

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.