{{-- header --}} @php($breadcrumbs = ['棚卸結果一覧'=>null]) @php($breadcrumbs = [ '棚卸結果一覧'=>route('inventory-results.result.index', ['action'=>'back']), '棚卸結果明細(本社倉庫)'=>null ]) {{-- 検索条件 --}}
@csrf
{{$stocktaking->inventory_stocktaking_name}}( {{$stocktaking->stocktaking_date}} )

{{-- |基本条件 --}}
@php($warehouse_id = old('warehouse_id', $params->warehouse_id) ?? null)
{{-- |アクション --}}
{{-- データリスト --}}
{{-- 固定ヘッダー用テーブル --}}
No JANコード 商品名 賞味期限 在庫
合計
理論
(良品)
理論
(不良)
小計
(良品)
小計
(不良)
差異
(良品)
差異
(不良)
差異
合計
実在庫(良品) 実在庫(不良品)
1 2 3 4 5 1 2 3 4 5
{{-- スクロール可能なボディ用テーブル --}}
@foreach($details as $row) {{-- No --}} {{-- JANコード --}} {{-- 商品名 --}} {{-- 賞味期限 --}} {{-- 在庫合計 --}} {{-- 理論(良品) --}} {{-- 理論(不良) --}} {{-- 小計(良品) --}} {{-- 小計(不良) --}} {{-- 差異(良品) --}} {{-- 差異(不良) --}} {{-- 差異合計 --}} {{-- 良品1-5 --}} {{-- 不良品1-5 --}} @endforeach
{{ $loop->iteration }}{{ $row->product->jan_code ?? '' }}{{ $row->product->product_name ?? '' }}{{ $row->inventoryLot?->expiration_date ?? '' }}{{ num_format($row->stock_total) }}{{ num_format($row->expected_quantity) }}{{ num_format($row->defective_expected_quantity) }}{{ num_format($row->actual_total) }}{{ num_format($row->defective_total) }}{{ num_format($row->difference_good) }}{{ num_format($row->difference_defective) }}{{ num_format($row->difference_total) }}{{ num_format($row->actual_quantity_1) }} {{ num_format($row->actual_quantity_2) }} {{ num_format($row->actual_quantity_3) }} {{ num_format($row->actual_quantity_4) }} {{ num_format($row->actual_quantity_5) }}{{ num_format($row->defective_quantity_1) }} {{ num_format($row->defective_quantity_2) }} {{ num_format($row->defective_quantity_3) }} {{ num_format($row->defective_quantity_4) }} {{ num_format($row->defective_quantity_5) }}
{{-- 項目ソート --}}
{{-- script --}}