From ee15d8e45e852c8eb2a6bdde71b9056ab68440bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=9C=EA=B3=A8=EC=95=BD=EC=82=AC?= Date: Wed, 18 Feb 2026 05:44:34 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=9A=8C=EC=9B=90=20=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=20=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=20=EB=A7=88=EC=9D=BC?= =?UTF-8?q?=EB=A6=AC=EC=A7=80=20=ED=91=9C=EC=8B=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 환자 목록에 마일리지 잔액 컬럼 추가 - 마일리지가 있는 회원은 돼지저금통 아이콘 표시 - 환자 편집 모달에 마일리지 관리 섹션 추가 - 현재 잔액, 총 적립, 총 사용 표시 - 마일리지 적립/차감 버튼 (추후 구현 예정) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- static/app.js | 5 +++++ templates/index.html | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/static/app.js b/static/app.js index ff8de97..ab69f57 100644 --- a/static/app.js +++ b/static/app.js @@ -148,6 +148,7 @@ $(document).ready(function() { response.data.forEach(patient => { const compoundCount = compoundCounts[patient.patient_id] || 0; + const mileageBalance = patient.mileage_balance || 0; tbody.append(` @@ -158,6 +159,10 @@ $(document).ready(function() { ${compoundCount}회 + + ${mileageBalance.toLocaleString()}P + ${mileageBalance > 0 ? '' : ''} + ${patient.notes || '-'} + + +