{{-- header --}} @php($breadcrumbs = ['受注一覧'=>null])
@php($visible = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canStore) ? '' : 'hidden')
{{-- 検索条件 --}}
@csrf {{-- |基本条件 --}}
@php($status = old('allocation_types', $params->allocation_types ?? []) ?? [])
@php($shipping_instruction_status = old('shipping_instruction_status', $params->shipping_instruction_status ?? []) ?? []) @php(\Log::info((array)$params))
{{-- |アクション --}}
{{-- 固有の検索前チェック --}} {{--
--}} {{-- データリスト --}}
@php($visibleUpdate = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canUpdate) ? '' : 'hidden') @foreach($details as $row) @php($hasManage = \Enum::match('StockControlType.Manage', $row->product->stock_control_type)) @php($_stock_control = $hasManage? 1 : 0) @php($allocation_type = $_stock_control == 1 ? $row->allocation_type : Enum::value('AllocationType.Secure')) {{-- // 在庫管理しない場合は強制的に「引当済み」にする --}} @endforeach
{{$row->order->slip_number}} {{$row->order->order_date}} {{$row->order->shipment_date}} {{$row->order->delivery_date}} {{obj_attr($row->order->customer, 'customer_code')}} {{$row->order->customer_name}} {{obj_attr($row->order->delivery, 'delivery_code')}} {{$row->order->delivery_name}} {{$row->order_number}} {{$row->product?->jan_code}} {{$row->product_name}} {{num_format($row->order_qty)}} {{Enum::abbr('AllocationType', $allocation_type)}} @php($total = $row->order->total_standard + $row->order->total_reduced + $row->order->total_exempt) {{num_format($total)}} {{Enum::abbr('ShippingInstructionStatus', $row->shipping_instruction_status)}} @if(Enum::value('ShippingInstructionStatus.Issued') == $row->shipping_instruction_status) ({{ num_format($row->order->shipments?->first()->shipment_sequence ?? '') }}) @endif
{{-- 項目ソート --}}
@isset($params->perpage) @endisset
{{-- modal --}} {{-- script --}}