fix(expense): zip 버튼 라벨 변경 + 경로 폴백/진단 헤더

- "첨부 일괄(zip)" → "전부 다운로드(zip)"
- stored_path 깨진 경우 업로드루트/item_id/파일명 으로 폴백 탐색
- X-Attachment-Stats 헤더(total/added/missing)로 빈 zip 원인 진단

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 17:50:49 +09:00
parent a107b06826
commit 09e2f06a14
2 changed files with 29 additions and 4 deletions
@@ -11,7 +11,7 @@
<button type="submit" class="erp-btn erp-btn-outline">조회</button>
</form>
<a class="erp-btn erp-btn-primary" href="/expense/api/approved/export.xlsx?month={{ month }}">엑셀 다운</a>
<a class="erp-btn erp-btn-outline" href="/expense/api/approved/attachments.zip?month={{ month }}">일괄(zip)</a>
<a class="erp-btn erp-btn-outline" href="/expense/api/approved/attachments.zip?month={{ month }}">다운로드(zip)</a>
</div>
<!-- ── 직원별 합계 ── -->