Skip to main content

ProfitController

Base path/api/inventory/profit
ModuleInventory & Portal
Endpoints3
OpenAPI tagProfit
Sourcebackend/src/main/java/com/motorph/payroll/controller/ProfitController.java

Endpoints​

MethodPathRequiresHandler
GET/api/inventory/profit/summaryinventory.profit.viewgetSummary()
GET/api/inventory/profit/costing-methodinventory.profit.viewgetCostingMethod()
PUT/api/inventory/profit/costing-methodinventory.profit.manageupdateCostingMethod()

Call chain​

Dependencies​

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

Tables reached​

None through a Spring Data repository — this controller is stateless, or its work is delegated to a component that reaches storage another way.


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/.