diff --git a/app/Domains/Virtual/Repositories/Concerns/OrderCardConcern.php b/app/Domains/Virtual/Repositories/Concerns/OrderCardConcern.php index 460b87a4..91dd8d65 100644 --- a/app/Domains/Virtual/Repositories/Concerns/OrderCardConcern.php +++ b/app/Domains/Virtual/Repositories/Concerns/OrderCardConcern.php @@ -129,8 +129,8 @@ trait OrderCardConcern } if (isset($conditions['activated_starttime']) && isset($conditions['activated_endtime'])) { - $query->where('activated_at', '>=', Carbon::parse($conditions['activated_starttime'])) - ->where('activated_at', '<=', Carbon::parse($conditions['activated_endtime'])); + $query->where('service_start_at', '>=', Carbon::parse($conditions['activated_starttime'])) + ->where('service_start_at', '<=', Carbon::parse($conditions['activated_endtime'])); } if (isset($conditions['sn'])) {