업체·담당자·단가·지정판매소 관리 화면의 조회 및 표시를 개선한다.
관리 화면에서 유형별 조회와 순번 표기를 통일하고, 지정판매소 주소/구군 표시와 포장단위 이력 표현을 사용자 관점으로 정리한다. Made-with: Cursor
This commit is contained in:
@@ -6,11 +6,20 @@
|
||||
</div>
|
||||
</section>
|
||||
<div class="border border-gray-300 overflow-auto mt-2">
|
||||
<?php
|
||||
$fieldLabelMap = [
|
||||
'pu_box_per_pack' => '박스당 팩 수',
|
||||
'pu_pack_per_sheet' => '팩당 낱장 수',
|
||||
'pu_start_date' => '적용시작일',
|
||||
'pu_end_date' => '적용종료일',
|
||||
'pu_state' => '상태',
|
||||
];
|
||||
?>
|
||||
<table class="w-full data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-16">번호</th>
|
||||
<th>변경 필드</th>
|
||||
<th>변경 내용</th>
|
||||
<th>이전 값</th>
|
||||
<th>변경 값</th>
|
||||
<th>변경일시</th>
|
||||
@@ -20,7 +29,7 @@
|
||||
<?php foreach ($list as $row): ?>
|
||||
<tr>
|
||||
<td class="text-center"><?= esc($row->puh_idx) ?></td>
|
||||
<td class="text-left pl-2"><?= esc($row->puh_field) ?></td>
|
||||
<td class="text-left pl-2"><?= esc($fieldLabelMap[(string) $row->puh_field] ?? $row->puh_field) ?></td>
|
||||
<td><?= esc($row->puh_old_value) ?></td>
|
||||
<td><?= esc($row->puh_new_value) ?></td>
|
||||
<td class="text-center"><?= esc($row->puh_changed_at) ?></td>
|
||||
|
||||
Reference in New Issue
Block a user