trim((string) ($oldItemCodes[$i] ?? '')),
'qty' => max(0, (int) ($oldItemQtys[$i] ?? 0)),
'pack' => (string) ($oldItemPacks[$i] ?? 'sheet'),
];
}
if ($initialRows === []) {
$initialRows[] = ['code' => '', 'qty' => 0, 'pack' => 'sheet'];
}
?>
| No | 봉투코드 | 봉투명 | 재고(낱장) | 팩당 낱장 | 박스당 낱장 |
|---|---|---|---|---|---|
| = $idx + 1 ?> | = esc((string) ($row['bag_code'] ?? '')) ?> | = esc((string) ($row['bag_name'] ?? '')) ?> | = number_format((int) ($row['inventory_qty'] ?? 0)) ?> | = number_format((int) ($row['pack_per_sheet'] ?? 1)) ?> | = number_format((int) ($row['total_per_box'] ?? 1)) ?> |
| 불출 가능한 재고가 없습니다. | |||||
| No | 불출일 | 구분 | 불출처 | 봉투코드 | 봉투명 | 수량(낱장) | 상태 |
|---|---|---|---|---|---|---|---|
| = $idx + 1 ?> | = esc((string) ($row->bi2_issue_date ?? '')) ?> | = esc((string) ($row->bi2_issue_type ?? '')) ?> | = esc((string) ($row->bi2_dest_name ?? '')) ?> | = esc((string) ($row->bi2_bag_code ?? '')) ?> | = esc((string) ($row->bi2_bag_name ?? '')) ?> | = number_format((int) ($row->bi2_qty ?? 0)) ?> | bi2_status ?? 'normal') === 'cancelled'): ?> 취소 정상 |
| 최근 불출 내역이 없습니다. | |||||||