feat: 카드 알림 자동인식 - 확인 필요 배지/확정 UI/카운트
CI / build (push) Failing after 14m50s

- 미확인(pending) 내역에 '확인필요' 배지 + 행 강조 + '확인' 버튼(즉시 확정)
- 수정 저장 시 미확인 건은 확정 처리
- 가계부 헤더에 '확인 필요 N건' 카운트 배지
- accountApi: pendingCount/confirmEntry

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-03 18:51:43 +09:00
parent 8f8744ba4b
commit 633aa54274
2 changed files with 78 additions and 4 deletions
+8
View File
@@ -153,6 +153,14 @@ export const accountApi = {
return http.delete(`/account/tags/${id}`)
},
// 카드 결제 알림 자동인식 (미확인 내역)
pendingCount() {
return http.get('/account/entries/pending/count')
},
confirmEntry(id, payload) {
return http.post(`/account/entries/${id}/confirm`, payload || {})
},
// 영수증 OCR (백엔드가 Google Vision 호출 → 전체 텍스트 반환)
ocrReceipt(blob) {
const fd = new FormData()