| # | วันที่รับงาน | เลขที่งาน | วันที่กำหนดส่ง | ชื่อ ลูกค้า | ค่าบริการ | ผู้รับงาน | วันที่สำรวจ | เหตุผล | |
|---|---|---|---|---|---|---|---|---|---|
| @if ($order->status == 1) @if(auth()->user()->hasRole("Valuer") || auth()->user()->hasRole("Administrator")) @if($order->job_id > 0) @else @endif @elseif(auth()->user()->can("Edit Close Job") && $order->job_id > 0) @else @endif @else @if(auth()->user()->can("Edit Close Job") && $order->job_id > 0) @else @endif @endif | @php $start = ($page - 1) * 10 + 1; @endphp{{ ($start + $i) }} | {{ $order->order_date_thai }} | {{ $order->order_no }} | {{ $order->end_date_thai }} | {{ $order->customer_name }} | {{ number_format($order->total_cost) }} | {{ $order->worker }} | {{ $order->survey_date_thai }} | ดูเหตุผล |