docs: 2.4 입금/출금 관리 완료 표시

This commit is contained in:
2025-12-17 21:47:52 +09:00
parent 28c71ee4ed
commit 8adb04a64a

View File

@@ -2,7 +2,7 @@
> **작성일**: 2025-12-17
> **기준 문서**: SAM_ERP_Storyboard_D0.8_251216
> **상태**: 🟢 Phase 1 진행 중 (3/6 완료: 휴가 관리, 근무/출퇴근 설정, 카드/계좌 관리)
> **상태**: 🟢 Phase 1 진행 중 (4/6 완료: 휴가 관리, 근무/출퇴근 설정, 카드/계좌 관리, 입금/출금 관리)
---
@@ -186,31 +186,44 @@
---
### 2.4 입금/출금 관리
### 2.4 입금/출금 관리
> 참조: [99-gap-analysis.md#24-입금출금-관리](../specs/erp-analysis/99-gap-analysis.md)
> **완료일**: 2025-12-17 | **커밋**: `17799c4`
- [ ] **테이블 생성**
- [ ] `deposits` 마이그레이션
- [ ] `withdrawals` 마이그레이션
- [x] **테이블 생성**
- [x] `deposits` 마이그레이션
- [x] `withdrawals` 마이그레이션
- [ ] **모델 생성**
- [ ] `Deposit` 모델
- [ ] `Withdrawal` 모델
- [x] **모델 생성**
- [x] `Deposit` 모델 (BelongsToTenant, SoftDeletes)
- [x] `Withdrawal` 모델 (BelongsToTenant, SoftDeletes)
- [ ] **서비스 구현**
- [ ] `DepositService` 생성
- [ ] `WithdrawalService` 생성
- [ ] 요약 계산 로직
- [x] **서비스 구현**
- [x] `DepositService` 생성
- [x] `WithdrawalService` 생성
- [x] 요약 계산 로직 (payment_method별 집계)
- [ ] **API 엔드포인트**
- [ ] `GET/POST/PUT/DELETE /v1/deposits` - 입금 CRUD
- [ ] `GET /v1/deposits/summary` - 입금 요약
- [ ] `GET/POST/PUT/DELETE /v1/withdrawals` - CRUD
- [ ] `GET /v1/withdrawals/summary` - 요약
- [x] **API 엔드포인트** (12개)
- [x] `GET /v1/deposits` - 입금 목록
- [x] `POST /v1/deposits` - 입금 등록
- [x] `GET /v1/deposits/summary` - 요약
- [x] `GET /v1/deposits/{id}` - 상세
- [x] `PUT /v1/deposits/{id}` - 입금 수정
- [x] `DELETE /v1/deposits/{id}` - 입금 삭제
- [x] `GET /v1/withdrawals` - 출금 목록
- [x] `POST /v1/withdrawals` - 출금 등록
- [x] `GET /v1/withdrawals/summary` - 출금 요약
- [x] `GET /v1/withdrawals/{id}` - 출금 상세
- [x] `PUT /v1/withdrawals/{id}` - 출금 수정
- [x] `DELETE /v1/withdrawals/{id}` - 출금 삭제
- [ ] **Swagger 문서**
- [ ] `DepositApi.php` 작성
- [ ] `WithdrawalApi.php` 작성
- [x] **Swagger 문서**
- [x] `DepositApi.php` 작성
- [x] `WithdrawalApi.php` 작성
- [ ] **테스트**
- [ ] Feature 테스트 작성
- [ ] 수동 API 테스트
---