|
|
|
|
@ -47,7 +47,7 @@ class PushCourses extends Command
|
|
|
|
|
$courses = Course::whereHas('typeDetail', function ($query) {
|
|
|
|
|
$query->where('is_push', 1);
|
|
|
|
|
})
|
|
|
|
|
//->where('sign_end_date', $today)
|
|
|
|
|
->where('sign_end_date', $today)
|
|
|
|
|
->where('is_push', 1)
|
|
|
|
|
->get();
|
|
|
|
|
if ($courses->isEmpty()) {
|
|
|
|
|
|