diff --git a/app/repository/OrderRepository.php b/app/repository/OrderRepository.php index 0c5cb7b..56b63e8 100644 --- a/app/repository/OrderRepository.php +++ b/app/repository/OrderRepository.php @@ -1092,7 +1092,7 @@ class OrderRepository extends Repository */ public function orderCount(int $accountId): array { - $statusList = ['waiting', 'paid', 'shipped', 'completed']; + $statusList = ['order_placed', 'makeing', 'shipped']; $data = Order::where('account_id', $accountId) ->whereIn('status', $statusList) ->group('status')