訂單編號:{{ $row->orderSn }}
訂單狀態:{{ $status[$row->status] }}
訂購日: {{ date('Y-m-d',strtotime($row->created_at)) }}
出貨日:{{ ($row->status == 1)?"":date('Y-m-d',strtotime($row->updated_at_at)) }}
{{-- {{dd($orderProductView)}} --}}
@foreach ($orderProductView[$row->orderSn] as $key => $val)
{!! $val."
" !!}
@endforeach
{{-- 雞心 x 2 --}}
{{ $row->name }}
{{ $row->phone }}
${{ $row->totalMoney }}
{{ $row->deliveryType }}
{{ $row->payType }}
備註:{{ $row->ps }}
{{-- $status = array(-1 => '取消訂單', 1 => '未付款', 2 => '已付款' , 3 => '已配送' , 4 => '訂單已完成'); --}}