PublicPayrollSimulatorController
The marketing site's payroll simulator.
| Base path | /api/public/payroll-simulator |
| Module | Payroll |
| Endpoints | 3 |
| OpenAPI tag | Payroll simulator |
| Source | backend/src/main/java/com/motorph/payroll/controller/PublicPayrollSimulatorController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/public/payroll-simulator/defaults | Public — no authentication | defaults() |
POST | /api/public/payroll-simulator/pdf | Public — no authentication | simulatePdf() |
POST | /api/public/payroll-simulator | Public — no authentication | simulate() |
Notes
POST /api/public/payroll-simulator/pdf— The simulated payslip as the official JasperReports PDF (opens inline).
Call chain
10 of 23 reachable repositories shown.
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: PayrollSimulationService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| CompanyProfile | company_profile | Yes |
| DeMinimisBenefitType | de_minimis_benefit_types | Yes |
| Employee | employee | Yes |
| EmployeeDeduction | employee_deductions | Yes |
| LeaveRequest | leave_request | Yes |
| OvertimeRequest | overtime_request | Yes |
| PagibigContributionRate | pagibig_contribution_rates | — |
| Payroll | payroll | Yes |
| PayrollApproval | payroll_approval | Yes |
| PayrollChange | payroll_changes | Yes |
| PayrollSettings | payroll_settings | Yes |
| Payslip | payslip | Yes |
| PayslipDeductionItem | payslip_deduction_items | Yes |
| PayslipHistory | payslip_history | Yes |
| PhHoliday | ph_holidays | Yes |
| PhilhealthContributionRate | philhealth_contribution_rates | — |
| RecognitionAward | recognition_award | Yes |
| SssContributionRate | sss_contribution_rates | — |
| Timesheet | timesheet | Yes |
| User | users | — |
| UserLog | user_log | — |
| WithholdingTaxBracket | withholding_tax_brackets | — |
| WorkSuspension | work_suspensions | Yes |
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/.