Phase 3 발주/입고/재고 관리 구현
- DB: bag_order, bag_order_item, bag_receiving, bag_inventory 테이블 - 발주: UUID v4, SHA-256 해시, LOT번호 자동생성, 봉투별 품목 관리 - 포장단위 연동 (박스→낱장 자동 환산), 단가 연동 (금액 자동 계산) - 발주 현황 (기간/상태 필터), 상세 조회, 취소/삭제 (상태 변경) - 입고: 발주건 기반 입고 처리, 박스→낱장 환산, 재고 자동 가산 - 재고: 지자체별 봉투 종류별 현재 재고 조회 - E2E 테스트 7개 전체 통과 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
30
app/Views/admin/bag_inventory/index.php
Normal file
30
app/Views/admin/bag_inventory/index.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<section class="border-b border-gray-300 p-2 shrink-0 bg-control-panel">
|
||||
<span class="text-sm font-bold text-gray-700">재고 현황</span>
|
||||
</section>
|
||||
<div class="border border-gray-300 overflow-auto mt-2">
|
||||
<table class="w-full data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-16">번호</th>
|
||||
<th>봉투코드</th>
|
||||
<th>봉투명</th>
|
||||
<th>현재재고(낱장)</th>
|
||||
<th>최종갱신</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="text-right">
|
||||
<?php foreach ($list as $row): ?>
|
||||
<tr>
|
||||
<td class="text-center"><?= esc($row->bi_idx) ?></td>
|
||||
<td class="text-center font-mono"><?= esc($row->bi_bag_code) ?></td>
|
||||
<td class="text-left pl-2"><?= esc($row->bi_bag_name) ?></td>
|
||||
<td class="font-bold"><?= number_format((int) $row->bi_qty) ?></td>
|
||||
<td class="text-center"><?= esc($row->bi_updated_at) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php if (empty($list)): ?>
|
||||
<tr><td colspan="5" class="text-center text-gray-400 py-4">등록된 재고가 없습니다.</td></tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user