|
|
|
|
@ -23,7 +23,7 @@ class OrderController extends Controller
|
|
|
|
|
$persons_sfz = DB::table('web_user_person')->where(['user_id' => $user->id, 'is_del' => 0])->pluck('id_number')->toArray();
|
|
|
|
|
|
|
|
|
|
$OrderList = DB::table('orders')
|
|
|
|
|
->select('id', 'title', 'status', 'name', 'appointment_time as time', 'order_number as order','appointment_number',
|
|
|
|
|
->select('id', 'title', 'status', 'name','appointment_date as date', 'appointment_time as time', 'order_number as order','appointment_number',
|
|
|
|
|
DB::raw("CASE WHEN type = 1 THEN '个检' WHEN type = 2 THEN '团检' ELSE 'unknown' END as type"),
|
|
|
|
|
'price', 'true_price', 'pay_time', 'refund_time', 'created_at')
|
|
|
|
|
->where(['web_user_id' => $user->id])
|
|
|
|
|
|