| {{$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')}} |
@if(!$isEcCustomer){{$row->order->delivery_name}}@endif |
{{$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
|
{{-- EC得意先の場合は表示ボタンを非表示(詳細画面遷移を断つ) --}}
{{-- 非EC得意先は通常の受注詳細(orders.show)へ「新規タブ」で遷移。
営業部ユーザーは orders.index 権限を持たないため、新規タブで開いて
元の /orders-business タブを残す(戻る/パンくずは show 側で権限制御済み) --}}
@if(!$isEcCustomer)
$row->order_id])}}')" />
@endif
|
@endforeach