diff --git a/plans/erp-api-development-plan.md b/plans/erp-api-development-plan.md index c1b1302..bef8cf6 100644 --- a/plans/erp-api-development-plan.md +++ b/plans/erp-api-development-plan.md @@ -2,7 +2,7 @@ > **작성일**: 2025-12-17 > **기준 문서**: SAM_ERP_Storyboard_D0.8_251216 -> **상태**: 🟢 Phase 1 진행 중 (5/6 완료: 휴가 관리, 근무/출퇴근 설정, 카드/계좌 관리, 입금/출금 관리, 매출/매입 관리) +> **상태**: ✅ Phase 1 완료 (6/6 완료: 휴가 관리, 근무/출퇴근 설정, 카드/계좌 관리, 입금/출금 관리, 매출/매입 관리, 보고서) --- @@ -270,23 +270,28 @@ --- -### 2.6 보고서 +### 2.6 보고서 ✅ > 참조: [99-gap-analysis.md#26-보고서](../specs/erp-analysis/99-gap-analysis.md) +> **완료일**: 2025-12-17 | **커밋**: `77914da` -- [ ] **서비스 구현** - - [ ] `ReportService` 생성 - - [ ] 일일 일보 집계 로직 - - [ ] 지출 예상 내역 계산 로직 - - [ ] Excel 다운로드 (Laravel Excel) +- [x] **서비스 구현** + - [x] `ReportService` 생성 + - [x] 일일 일보 집계 로직 (전일잔액, 당일입출금, 상세내역) + - [x] 지출 예상 내역 계산 로직 (월별 집계, 예상잔액) + - [x] Excel 다운로드 (Laravel Excel - `DailyReportExport`, `ExpenseEstimateExport`) -- [ ] **API 엔드포인트** - - [ ] `GET /v1/reports/daily` - 일일 일보 - - [ ] `GET /v1/reports/daily/export` - 엑셀 다운로드 - - [ ] `GET /v1/reports/expense-estimate` - 지출 예상 내역서 - - [ ] `GET /v1/reports/expense-estimate/export` - 엑셀 다운로드 +- [x] **API 엔드포인트** + - [x] `GET /v1/reports/daily` - 일일 일보 + - [x] `GET /v1/reports/daily/export` - 엑셀 다운로드 + - [x] `GET /v1/reports/expense-estimate` - 지출 예상 내역서 + - [x] `GET /v1/reports/expense-estimate/export` - 엑셀 다운로드 -- [ ] **Swagger 문서** - - [ ] `ReportApi.php` 작성 +- [x] **Swagger 문서** + - [x] `ReportApi.php` 작성 + +- [ ] **테스트** + - [ ] Feature 테스트 작성 + - [ ] 수동 API 테스트 ---