$this->service->salesSummary(), __('message.fetched') ); } /** * 매입 현황 요약 * GET /api/v1/dashboard/purchases/summary */ public function purchasesSummary(): JsonResponse { return ApiResponse::handle( fn () => $this->service->purchasesSummary(), __('message.fetched') ); } /** * 생산 현황 요약 * GET /api/v1/dashboard/production/summary */ public function productionSummary(): JsonResponse { return ApiResponse::handle( fn () => $this->service->productionSummary(), __('message.fetched') ); } /** * 미출고 내역 요약 * GET /api/v1/dashboard/unshipped/summary */ public function unshippedSummary(): JsonResponse { return ApiResponse::handle( fn () => $this->service->unshippedSummary(), __('message.fetched') ); } /** * 시공 현황 요약 * GET /api/v1/dashboard/construction/summary */ public function constructionSummary(): JsonResponse { return ApiResponse::handle( fn () => $this->service->constructionSummary(), __('message.fetched') ); } /** * 근태 현황 요약 * GET /api/v1/dashboard/attendance/summary */ public function attendanceSummary(): JsonResponse { return ApiResponse::handle( fn () => $this->service->attendanceSummary(), __('message.fetched') ); } }