diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index 5b2bbf9..8be9c00 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -263,7 +263,8 @@ class AccountController extends AbstractController } $query->whereIn('status', $statusList); } - if (!empty($request->input('timeRange'))) { + $timeRange = $request->input('timeRange'); + if (!empty($timeRange)) { $timeRange[0] .= ' 00:00:00'; $timeRange[1] .= ' 23:59:59'; $query->whereBetween('created_at', $timeRange); @@ -302,7 +303,7 @@ class AccountController extends AbstractController 'card_user_name' => $order->card_user_name, 'last_card_no' => $order->last_card_no, 'bank_mobile' => $order->bank_mobile, - 'certificate_no' => $order->ucertificate_no, + 'certificate_no' => $order->certificate_no, 'status' => $order->status, 'system_status' => $systemStatus, 'status_text' => $statusText,