fix(API): Controller 타입 및 코드 정리

- FcmController, EstimateController, ItemsController 개선
- LoanController, PositionController 수정
- ReceivablesController, SalaryController 수정
- StructureReviewController 수정

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-01-13 19:49:00 +09:00
parent e571f8c38e
commit ba5f402cd8
10 changed files with 234 additions and 6 deletions

View File

@@ -27,6 +27,15 @@ public function index(Request $request)
], __('message.fetched'));
}
public function stats()
{
$stats = $this->estimateService->stats();
return ApiResponse::success([
'stats' => $stats,
], __('message.fetched'));
}
public function show($id)
{
$estimate = $this->estimateService->getEstimateDetail($id);