fix(pmr): 라벨 인쇄 개선

- 가로/세로 모드 분기 추가 (orientation 파라미터)
- 기본값 portrait (세로 모드, QR 라벨과 동일 방향)
- 환자 이름 selector 수정 (#detailName)
This commit is contained in:
thug0bin
2026-03-12 14:19:59 +09:00
parent 17a29f05b8
commit 58408c9f5c
2 changed files with 16 additions and 6 deletions

View File

@@ -2993,7 +2993,7 @@
return;
}
const patientName = document.querySelector('.patient-info h2')?.textContent?.trim() || '';
const patientName = document.getElementById('detailName')?.textContent?.trim() || '';
let printedCount = 0;
let failedCount = 0;