feat: 인쇄 A4 맞춤 + 재고현황 실사버튼 제거
- 회원관리·승인대기 표를 인쇄 시 A4 너비에 맞게(줄바꿈·관리 열 제외) - 재고현황의 '실사 선별 조회' 버튼 제거(소메뉴로 이동 가능) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,25 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="border border-gray-300 rounded-lg p-4 overflow-auto mt-2">
|
||||
<style>
|
||||
/* 인쇄 시 회원 목록 표를 A4 너비에 맞춤(잘림 방지) */
|
||||
@media print {
|
||||
@page { size: A4 portrait; margin: 10mm; }
|
||||
.user-print-wrap { border: 0 !important; padding: 0 !important; overflow: visible !important; }
|
||||
.user-print-wrap table.data-table { width: 100% !important; table-layout: fixed; font-size: 9px; }
|
||||
.user-print-wrap .data-table th,
|
||||
.user-print-wrap .data-table td {
|
||||
white-space: normal !important; /* nowrap 해제 → 줄바꿈 허용 */
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
padding: 2px 3px !important;
|
||||
vertical-align: top;
|
||||
}
|
||||
/* '관리'(작업 버튼) 열은 인쇄에 불필요 → 제외해 가로 폭 확보 */
|
||||
.user-print-wrap .col-actions { display: none !important; }
|
||||
}
|
||||
</style>
|
||||
<div class="user-print-wrap border border-gray-300 rounded-lg p-4 overflow-auto mt-2">
|
||||
<table class="w-full data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -20,7 +38,7 @@
|
||||
<th class="text-center">상태</th>
|
||||
<th class="text-left">로그인 잠금</th>
|
||||
<th class="text-left">가입일</th>
|
||||
<th class="text-center">관리</th>
|
||||
<th class="text-center col-actions">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="text-right">
|
||||
@@ -56,7 +74,7 @@
|
||||
?>
|
||||
</td>
|
||||
<td class="text-left pl-2"><?= esc($row->mb_regdate ?? '') ?></td>
|
||||
<td class="text-center">
|
||||
<td class="text-center col-actions">
|
||||
<?php if ((int) $row->mb_state !== 0): ?>
|
||||
<?php if ($loginLocked): ?>
|
||||
<form action="<?= base_url('admin/users/unlock-login/' . $row->mb_idx) ?>" method="POST" class="inline mr-1" onsubmit="return confirm('로그인 잠금을 해제할까요?');">
|
||||
|
||||
Reference in New Issue
Block a user