= view('components/print_header', [
'printTitle' => '쓰레기봉투 수급 계획',
'printExtraLines' => $printExtraLines,
]) ?>
기존 봉투 = 입고 팩 바코드 미등록 품목(수기 재고),
바코드 봉투 = bag_receiving_pack_code 등록 품목.
월판매량은 최근 12개월 순판매(또는 바코드 판매 스캔)의 월평균입니다.
소진일수 = (총재고÷월판매량)×30, 발주예정일 = 기준일+소진일수−보유일수, 과거일은 빨간색.
| 최근 발주 내역 | 현재고 및 예상 판매일수 | 추가발주 예정내역 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 발주일자 | 봉투종류 | 발주량 | 발주시재고 | 현재고 | 입고예정량 | 총재고 | 월판매량 | 소진일수(일) | 발주예정일 | 발주수량 |
| 표시할 품목이 없습니다. | ||||||||||
| = ($row['last_order_date'] ?? '') !== '' ? esc(str_replace('-', '.', (string) $row['last_order_date'])) : '—' ?> | = esc((string) ($row['bag_name'] ?? $row['bag_code'] ?? '')) ?> | = (int) ($row['last_order_qty'] ?? 0) > 0 ? number_format((int) $row['last_order_qty']) : '—' ?> | = (int) ($row['stock_at_order'] ?? 0) > 0 ? number_format((int) $row['stock_at_order']) : '—' ?> | = number_format((int) ($row['current_stock'] ?? 0)) ?> | = number_format((int) ($row['pending_inbound'] ?? 0)) ?> | = number_format((int) ($row['total_stock'] ?? 0)) ?> | = number_format((int) ($row['monthly_avg_sales'] ?? 0)) ?> | = esc($deplDisplay) ?> | = esc($schedDisplay) ?> | = number_format((int) ($row['order_qty'] ?? 0)) ?> |